The list of
Cast callbacks. These callbacks may get called at any time, when
connected to a Google Cast device.
Public Constructor Summary
Public Method Summary
public Cast.Listener ()
public void onActiveInputStateChanged (int activeInputState)
public void onApplicationDisconnected (int statusCode)
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
public void onApplicationMetadataChanged (ApplicationMetadata applicationMetadata)
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
public void onApplicationStatusChanged ()
Called when the status of the connected application has changed.
public void onStandbyStateChanged (int standbyState)
public void onVolumeChanged ()
Called when the device's volume or mute state has changed.