Base class for implementing a UI controller that receives media status updates from the
cast receiver. This can be subclassed to implement custom controls such as "thumb up" button
when using
UIMediaController to implement your media playback UI.
| void |
onMediaStatusUpdated()
Called when there is an updated
MediaStatus
on the
RemoteMediaClient.
|
| void |
onSendingRemoteMediaRequest()
Called when there is a outgoing remote media request on the
RemoteMediaClient.
|
| void | |
| void |
onSessionEnded()
Called when a
CastSession
is ended.
|
| RemoteMediaClient |
getRemoteMediaClient()
Returns the managed
RemoteMediaClient of the current active CastSession,
if any.
|
Called when there is an updated MediaStatus
on the
RemoteMediaClient.
Called when there is a outgoing remote media request on the
RemoteMediaClient.
Called when a CastSession
is connected. Subclass must call through to super when overriding this method.
getRemoteMediaClient() will return the managed
RemoteMediaClient after this method is called.
Called when a CastSession
is ended. Subclass must call through to super when overriding this method.
getRemoteMediaClient() will return null after this method is
called.
Returns the managed
RemoteMediaClient of the current active CastSession,
if any.