Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

RemotePlaybackClient.SessionActionCallback

public static abstract class RemotePlaybackClient.SessionActionCallback
extends RemotePlaybackClient.ActionCallback

java.lang.Object
   ↳ androidx.mediarouter.media.RemotePlaybackClient.ActionCallback
     ↳ androidx.mediarouter.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

Public constructors

RemotePlaybackClient.SessionActionCallback

public RemotePlaybackClient.SessionActionCallback ()

Public methods

onResult

public 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.