Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static abstract class

RemotePlaybackClient.StatusCallback

extends Object
java.lang.Object
   ↳ android.support.v7.media.RemotePlaybackClient.StatusCallback

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RemotePlaybackClient.StatusCallback ()

Public Methods

public void onItemStatusChanged ( Bundle data, String sessionId, MediaSessionStatus sessionStatus, String itemId, MediaItemStatus itemStatus)

Called when the status of a media item changes.

Parameters
data The result data bundle.
sessionId The session id.
sessionStatus The session status, or null if unknown.
itemId The item id.
itemStatus The item status.

public void onSessionChanged ( String sessionId)

Called when the session of the remote playback client changes.

Parameters
sessionId The new session id.

public void onSessionStatusChanged ( Bundle data, String sessionId, MediaSessionStatus sessionStatus)

Called when the status of a media session changes.

Parameters
data The result data bundle.
sessionId The session id.
sessionStatus The session status, or null if unknown.