java.lang.Object | |
↳ | com.google.android.gms.cast.framework.media.uicontroller.UIController |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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. | |||||||||||
Called when a
CastSession is ended. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the managed
RemoteMediaClient of the current active CastSession , if
any. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
Parameters | |
---|---|
castSession |
CastSession
|
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.
Returns | |
---|---|
RemoteMediaClient |