public abstract static class RemotePlaybackClient.ActionCallback extends Object
Constructor and Description |
---|
ActionCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onError(String error,
int code,
Bundle data)
Called when a media control request fails.
|
public void onError(String error, int code, Bundle data)
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.