| java.lang.Object | |
| ↳ | com.google.android.gms.cast.framework.media.CastMediaOptions.Builder |
A builder to create an instance of CastMediaOptions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds and returns the
CastMediaOptions object. | |||||||||||
Sets the class name of the expanded controller
Activity. | |||||||||||
Sets the
ImagePicker. | |||||||||||
Sets the class name of the MediaIntentReceiver.
| |||||||||||
Sets the
NotificationOptions used to configure the notification with
NotificationCompat.MediaStyle. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sets the class name of the expanded controller Activity. The default value is
null.
Sets the ImagePicker. The SDK will call it to choose an appropriate image to be
used in different UIs. If ImagePicker is not set, or is set to null, the
SDK will pick the first image from the list of images in the current playing item's
MediaMetadata.
Sets the class name of the MediaIntentReceiver. The default value is
MediaIntentReceiver. If your app calls this method, the custom
MediaIntentReceiver should be declared in the application's manifest.
See also MediaIntentReceiver.
Sets the NotificationOptions used to configure the notification with
NotificationCompat.MediaStyle. The default value is a
NotificationOptions with all default options. If set to null then the
notification is disabled.