ItemActionCallback

abstract class ItemActionCallback : RemotePlaybackClient.ActionCallback
kotlin.Any
   ↳ androidx.mediarouter.media.RemotePlaybackClient.ActionCallback
   ↳ androidx.mediarouter.media.RemotePlaybackClient.ItemActionCallback

Callback for remote playback requests that operate on items.

Summary

Public constructors

Callback for remote playback requests that operate on items.

Public methods
open Unit
onResult(data: Bundle!, sessionId: String!, sessionStatus: MediaSessionStatus!, itemId: String!, itemStatus: MediaItemStatus!)

Called when the request succeeds.

Inherited functions

Public constructors

<init>

ItemActionCallback()

Callback for remote playback requests that operate on items.

Public methods

onResult

open fun onResult(data: Bundle!, sessionId: String!, sessionStatus: MediaSessionStatus!, itemId: String!, itemStatus: MediaItemStatus!): Unit

Called when the request succeeds.

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