lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1

RemotePlaybackClient.SessionActionCallback

public static abstract class RemotePlaybackClient.SessionActionCallback
extends RemotePlaybackClient.ActionCallback

java.lang.Object
   ↳ android.support.v7.media.RemotePlaybackClient.ActionCallback
     ↳ android.support.v7.media.RemotePlaybackClient.SessionActionCallback


Callback for remote playback requests that operate on sessions.

Summary

Public constructors

RemotePlaybackClient.SessionActionCallback()

Public methods

void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus)

Called when the request succeeds.

Inherited methods

From class android.support.v7.media.RemotePlaybackClient.ActionCallback
From class java.lang.Object

Public constructors

RemotePlaybackClient.SessionActionCallback

added in version 22.1.0
RemotePlaybackClient.SessionActionCallback ()

Public methods

onResult

added in version 22.1.0
void onResult (Bundle data, 
                String sessionId, 
                MediaSessionStatus sessionStatus)

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.