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

SessionActionCallback

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

Callback for remote playback requests that operate on sessions.

Summary

Public constructors

Callback for remote playback requests that operate on sessions.

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

Called when the request succeeds.

Inherited functions

Public constructors

<init>

SessionActionCallback()

Callback for remote playback requests that operate on sessions.

Public methods

onResult

open fun onResult(
    data: Bundle!,
    sessionId: String!,
    sessionStatus: MediaSessionStatus!
): 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.