| java.lang.Object | |
| ↳ | com.google.android.gms.cast.Cast.Listener |
The list of Cast callbacks. These callbacks may get called at any time, when
connected to a Google Cast device.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when the active-input state of the device has changed.
| |||||||||||
Called when the connection to the receiver application has been lost, such as when
another client has launched a new application.
| |||||||||||
Called when the application metadata of the currently running receiver application has
changed.
| |||||||||||
Called when the status of the connected application has changed.
| |||||||||||
Called when the standby state of the device has changed.
| |||||||||||
Called when the device's volume or mute state has changed.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
Called when the active-input state of the device has changed.
| activeInputState | The new active-input state. One of the constants
ACTIVE_INPUT_STATE_UNKNOWN, ACTIVE_INPUT_STATE_NO,
ACTIVE_INPUT_STATE_YES.
|
|---|
Called when the connection to the receiver application has been lost, such as when another client has launched a new application.
| statusCode | A status code indicating the reason for the disconnect. One of the
error constants defined in CastStatusCodes.
|
|---|
Called when the application metadata of the currently running receiver application has changed. This will happen whenever a receiver application launches or terminates.
| applicationMetadata | The new application metadata. May be null if
no application is currently running.
|
|---|
Called when the status of the connected application has changed.
Called when the standby state of the device has changed.
| standbyState | The new standby state. One of the constants
STANDBY_STATE_UNKNOWN, STANDBY_STATE_NO, or
STANDBY_STATE_YES.
|
|---|
Called when the device's volume or mute state has changed.