belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1
RemotePlaybackClient.StatusCallback
public
static
abstract
class
RemotePlaybackClient.StatusCallback
extends Object
java.lang.Object | |
↳ | android.support.v7.media.RemotePlaybackClient.StatusCallback |
A callback that will receive media status updates.
Summary
Public constructors | |
---|---|
RemotePlaybackClient.StatusCallback()
|
Public methods | |
---|---|
void
|
onItemStatusChanged(Bundle data, String sessionId, MediaSessionStatus sessionStatus, String itemId, MediaItemStatus itemStatus)
Called when the status of a media item changes. |
void
|
onSessionChanged(String sessionId)
Called when the session of the remote playback client changes. |
void
|
onSessionStatusChanged(Bundle data, String sessionId, MediaSessionStatus sessionStatus)
Called when the status of a media session changes. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public constructors
Public methods
onItemStatusChanged
void onItemStatusChanged (Bundle data, String sessionId, MediaSessionStatus sessionStatus, String itemId, MediaItemStatus itemStatus)
Called when the status of a media item changes.
Parameters | |
---|---|
data |
Bundle : The result data bundle. |
sessionId |
String : The session id. |
sessionStatus |
MediaSessionStatus : The session status, or null if unknown. |
itemId |
String : The item id. |
itemStatus |
MediaItemStatus : The item status.
|
onSessionChanged
void onSessionChanged (String sessionId)
Called when the session of the remote playback client changes.
Parameters | |
---|---|
sessionId |
String : The new session id.
|
onSessionStatusChanged
void onSessionStatusChanged (Bundle data, String sessionId, MediaSessionStatus sessionStatus)
Called when the status of a media session changes.
Parameters | |
---|---|
data |
Bundle : The result data bundle. |
sessionId |
String : The session id. |
sessionStatus |
MediaSessionStatus : The session status, or null if unknown.
|
Interfaces
Classes
- MediaControlIntent
- MediaItemMetadata
- MediaItemStatus
- MediaItemStatus.Builder
- MediaRouteDescriptor
- MediaRouteDescriptor.Builder
- MediaRouteDiscoveryRequest
- MediaRouteProvider
- MediaRouteProvider.Callback
- MediaRouteProvider.ProviderMetadata
- MediaRouteProvider.RouteController
- MediaRouteProviderDescriptor
- MediaRouteProviderDescriptor.Builder
- MediaRouteProviderService
- MediaRouter
- MediaRouter.Callback
- MediaRouter.ControlRequestCallback
- MediaRouter.ProviderInfo
- MediaRouter.RouteInfo
- MediaRouteSelector
- MediaRouteSelector.Builder
- MediaSessionStatus
- MediaSessionStatus.Builder
- RemotePlaybackClient
- RemotePlaybackClient.ActionCallback
- RemotePlaybackClient.ItemActionCallback
- RemotePlaybackClient.SessionActionCallback
- RemotePlaybackClient.StatusCallback