java.lang.Object | |
↳ | com.google.android.gms.cast.framework.CastOptions |
Configuration parameters for initializing the CastContext
. The CastOptions.Builder
is used to create an instance of CastOptions
, and so contains the
corresponding setter methods.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CastOptions.Builder | A builder to create an instance of CastOptions which is used to initialize the CastContext . |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
CastMediaOptions that is used to configure a media session. | |||||||||||
Returns
true if ReconnectionService should be enabled when needed to better
handle session recovery. | |||||||||||
Returns the
LaunchOptions . | |||||||||||
Returns the cast receiver application ID.
| |||||||||||
Returns
true if the saved session should be resumed if it was dropped unexpectedly. | |||||||||||
Returns
true if the receiver application should be stopped when the session is ended by
the user. | |||||||||||
Returns the list of supported cast namespaces.
| |||||||||||
Returns the amount of receiver device volume to increase or decrease when the physical volume
key is pressed on an Android device older than ICE CREAM SANDWICH.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the CastMediaOptions
that is used to configure a media session.
Returns | |
---|---|
CastMediaOptions |
Returns true
if ReconnectionService
should be enabled when needed to better
handle session recovery.
Returns | |
---|---|
boolean |
Returns the cast receiver application ID. This ID is used in discovering supported receivers, and launching an application when starting a new session.
Returns | |
---|---|
String |
Returns true
if the saved session should be resumed if it was dropped unexpectedly.
Returns false
if the saved session should not be resumed in this case.
Returns | |
---|---|
boolean |
Returns true
if the receiver application should be stopped when the session is ended by
the user. Returns false
if the receiver application should not be stopped in this case.
Returns | |
---|---|
boolean |
Returns the list of supported cast namespaces.
Returns | |
---|---|
List<String> |
Returns the amount of receiver device volume to increase or decrease when the physical volume
key is pressed on an Android device older than ICE CREAM SANDWICH. The SDK will call this
method to obtain the volume delta when onDispatchVolumeKeyEventBeforeJellyBean(KeyEvent)
is called. The return value is
not used on Android devices running ICE CREAM SANDWICH or newer.
Returns | |
---|---|
double |