Configuration parameters for starting a Cast media session. The
CastMediaOptions.Builder is used to create an instance of CastMediaOptions,
and so contains the corresponding setter methods.
Nested Class Summary
| class | CastMediaOptions.Builder | A builder to create an instance of
CastMediaOptions. |
|
Inherited Constant Summary
Public Method Summary
| String |
getExpandedControllerActivityClassName()
Returns the name of the expanded controller
Activity
that displays a full-screen media controller.
|
| ImagePicker |
getImagePicker()
Returns the
ImagePicker to choose an appropriate image.
|
| String |
getMediaIntentReceiverClassName()
Returns the name of the
BroadcastReceiver
that handles media intents from notification and lock screen.
|
| boolean |
getMediaSessionEnabled()
Returns
true if the Cast SDK automatically creates and manages a
MediaSession
for cast sessions.
|
| NotificationOptions |
getNotificationOptions()
Returns the options to configure notification.
|
| void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Public Methods
public String getExpandedControllerActivityClassName ()
Returns the name of the expanded controller Activity that
displays a full-screen media controller.
public ImagePicker getImagePicker ()
Returns the ImagePicker
to choose an appropriate image.
public String getMediaIntentReceiverClassName ()
Returns the name of the BroadcastReceiver
that handles media intents from notification and lock screen. The default value is
MediaIntentReceiver.
public boolean getMediaSessionEnabled ()
Returns true if the Cast SDK automatically creates and manages a
MediaSession
for cast sessions. It is true by default.
public NotificationOptions getNotificationOptions ()
Returns the options to configure notification.