public class

CastMediaOptions

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.cast.framework.media.CastMediaOptions

Class Overview

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.

Summary

Nested Classes
class CastMediaOptions.Builder A builder to create an instance of CastMediaOptions
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
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.
NotificationOptions getNotificationOptions()
Returns the options to configure notification.
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public String getExpandedControllerActivityClassName ()

Returns the name of the expanded controller Activity that displays a full-screen media controller.

Returns
String

public ImagePicker getImagePicker ()

Returns the ImagePicker to choose an appropriate image.

Returns
ImagePicker

public String getMediaIntentReceiverClassName ()

Returns the name of the BroadcastReceiver that handles media intents from notification and lock screen. The default value is MediaIntentReceiver.

Returns
String

public NotificationOptions getNotificationOptions ()

Returns the options to configure notification.

Returns
NotificationOptions

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int