Callback class for observing various events.
Public Constructor Summary
Public Method Summary
Called when a sender has requested to stop the application.
Inherited Method Summary
public CastReceiverContext.EventCallback ()
public void onSenderConnected (SenderInfo senderInfo)
Called when a sender is connected.
public void onSenderDisconnected (SenderDisconnectedEventInfo senderDisconnectedEventInfo)
Called when a sender is disconnected.
public void onStopApplication ()
Called when a sender has requested to stop the application. After this is invoked,
your application will be considered as stopped from the Cast perspective, i.e.
effectively the same as
When this method is called, you should tear down your current playback state, clear all temporary credentials data coming from the senders.