Google is committed to advancing racial equity for Black communities. See how.

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 String!: The session id.
sessionStatus MediaSessionStatus!: The session status, or null if unknown.
itemId String!: The item id.
itemStatus MediaItemStatus!: The item status.