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 Bundle!: The session id.
sessionStatus Bundle!: The session status, or null if unknown.