public abstract class

RemotePlaybackClient.ActionCallback

extends java.lang.Object

 java.lang.Object

↳androidx.mediarouter.media.RemotePlaybackClient.ActionCallback

Subclasses:

RemotePlaybackClient.ItemActionCallback, RemotePlaybackClient.SessionActionCallback

Overview

Base callback type for remote playback requests.

Summary

Constructors
publicActionCallback()

Methods
public voidonError(java.lang.String error, int code, Bundle data)

Called when a media control request fails.

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

Constructors

public ActionCallback()

Methods

public void onError(java.lang.String error, int code, Bundle data)

Called when a media control request fails.

Parameters:

error: A localized error message which may be shown to the user, or null if the cause of the error is unclear.
code: The error code, or MediaControlIntent.ERROR_UNKNOWN if unknown.
data: The error data bundle, or null if none.