public abstract class

RemotePlaybackClient.ItemActionCallback

extends RemotePlaybackClient.ActionCallback

 java.lang.Object

androidx.mediarouter.media.RemotePlaybackClient.ActionCallback

↳androidx.mediarouter.media.RemotePlaybackClient.ItemActionCallback

Overview

Callback for remote playback requests that operate on items.

Summary

Constructors
publicItemActionCallback()

Methods
public voidonResult(Bundle data, java.lang.String sessionId, MediaSessionStatus sessionStatus, java.lang.String itemId, MediaItemStatus itemStatus)

Called when the request succeeds.

from RemotePlaybackClient.ActionCallbackonError
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public ItemActionCallback()

Methods

public void onResult(Bundle data, java.lang.String sessionId, MediaSessionStatus sessionStatus, java.lang.String itemId, MediaItemStatus itemStatus)

Called when the request succeeds.

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.