java.lang.Object | |
↳ | com.google.android.gms.cast.Cast.Listener |
The interface for Cast
callbacks. These callbacks may get called at any time, when
connected to a Cast device.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the connection to the receiver application has been lost, such as when
another client has launched a new application.
| |||||||||||
Called when the status of the connected application has changed.
| |||||||||||
Called when the device's volume or mute state has changed.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 status of the connected application has changed.
Called when the device's volume or mute state has changed.