to top
Android APIs
public static abstract class

RemotePlaybackClient.ActionCallback

extends Object
java.lang.Object
   ↳ android.support.v7.media.RemotePlaybackClient.ActionCallback
Known Direct Subclasses

Class Overview

Base callback type for remote playback requests.

Summary

Public Constructors
RemotePlaybackClient.ActionCallback()
Public Methods
void onError(String error, int code, Bundle data)
Called when a media control request fails.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RemotePlaybackClient.ActionCallback ()

Public Methods

public void onError (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 ERROR_UNKNOWN if unknown.
data The error data bundle, or null if none.