MediaBrowserCompat.CustomActionCallback

public static abstract class MediaBrowserCompat.CustomActionCallback
extends Object

java.lang.Object
   ↳ android.support.v4.media.MediaBrowserCompat.CustomActionCallback


Callback for receiving the result of MediaBrowserCompat.sendCustomAction(String, Bundle, MediaBrowserCompat.CustomActionCallback).

Summary

Public constructors

CustomActionCallback()

Public methods

void onError(String action, Bundle extras, Bundle data)

Called when an error happens while performing the custom action or the connected service doesn't support the requested custom action.

void onProgressUpdate(String action, Bundle extras, Bundle data)

Called when an interim update was delivered from the connected service while performing the custom action.

void onResult(String action, Bundle extras, Bundle resultData)

Called when the custom action finished successfully.

Inherited methods

Public constructors

CustomActionCallback

public CustomActionCallback ()

Public methods

onError

public void onError (String action, 
                Bundle extras, 
                Bundle data)

Called when an error happens while performing the custom action or the connected service doesn't support the requested custom action.

Parameters
action