Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

belongs to Maven artifact androidx.mediarouter:mediarouter:1.1.0-alpha01

RemotePlaybackClient.ItemActionCallback

public static abstract class RemotePlaybackClient.ItemActionCallback
extends RemotePlaybackClient.ActionCallback

java.lang.Object
   ↳ androidx.mediarouter.media.RemotePlaybackClient.ActionCallback
     ↳ androidx.mediarouter.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

Public constructors

RemotePlaybackClient.ItemActionCallback

public RemotePlaybackClient.ItemActionCallback ()

Public methods

onResult

public 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.