Configuration parameters for starting a Cast media session. The
CastMediaOptions.Builder
is used to create an instance ofCastMediaOptions
,
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(Parcelout, int
flags)
|
Inherited Method Summary
Public Methods
publicStringgetExpandedControllerActivityClassName()
Returns the name of the expanded controllerActivity
that
displays a full-screen media controller.
publicImagePicker getImagePicker()
Returns theImagePicker
to choose an appropriate image.
publicStringgetMediaIntentReceiverClassName()
Returns the name of theBroadcastReceiver
that handles media intents from notification and lock screen. The default value is
MediaIntentReceiver
.
public booleangetMediaSessionEnabled()
Returnstrue
if the Cast SDK automatically creates and manages a
MediaSession
for cast sessions. It istrue
by default.
publicNotificationOptions getNotificationOptions()
Returns the options to configure notification.