added in version 22.1.0
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1

RemotePlaybackClient.ItemActionCallback

public static abstract class RemotePlaybackClient.ItemActionCallback
extends RemotePlaybackClient.ActionCallback

java.lang.Object
   ↳ android.support.v7.media.RemotePlaybackClient.ActionCallback
     ↳ android.support.v7.media.RemotePlaybackClient.ItemActionCallback


Callback for remote playback requests that operate on items.

Summary

Public constructors

RemotePlaybackClient.ItemActionCallback()

Public methods

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

Called when the request succeeds.

Inherited methods

From class android.support.v7.media.RemotePlaybackClient.ActionCallback
From class java.lang.Object

Public constructors

RemotePlaybackClient.ItemActionCallback

added in version 22.1.0
RemotePlaybackClient.ItemActionCallback ()

Public methods

onResult

added in version 22.1.0
void onResult (Bundle data, 
                String sessionId, 
                MediaSessionStatus sessionStatus, 
                String itemId, 
                MediaItemStatus itemStatus)

Called when the request succeeds.

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.