public abstract class

RemotePlaybackClient.SessionActionCallback

extends RemotePlaybackClient.ActionCallback

 java.lang.Object

androidx.mediarouter.media.RemotePlaybackClient.ActionCallback

↳androidx.mediarouter.media.RemotePlaybackClient.SessionActionCallback

Overview

Callback for remote playback requests that operate on sessions.

Summary

Constructors
publicSessionActionCallback()

Methods
public voidonResult(Bundle data, java.lang.String sessionId, MediaSessionStatus sessionStatus)

Called when the request succeeds.

from RemotePlaybackClient.ActionCallbackonError
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SessionActionCallback()

Methods

public void onResult(Bundle data, java.lang.String sessionId, MediaSessionStatus sessionStatus)

Called when the request succeeds.

Parameters:

data: The result data bundle.
sessionId: The session id.
sessionStatus: The session status, or null if unknown.