Most visited

Recently visited

Added in API level 21

MediaBrowser.ConnectionCallback

public static class MediaBrowser.ConnectionCallback
extends Object

java.lang.Object
   ↳ android.media.browse.MediaBrowser.ConnectionCallback


Callbacks for connection related events.

Summary

Public constructors

MediaBrowser.ConnectionCallback()

Public methods

void onConnected()

Invoked after connect() when the request has successfully completed.

void onConnectionFailed()

Invoked when the connection to the media browser failed.

void onConnectionSuspended()

Invoked when the client is disconnected from the media browser.

Inherited methods

From class java.lang.Object

Public constructors

MediaBrowser.ConnectionCallback

Added in API level 21
MediaBrowser.ConnectionCallback ()

Public methods

onConnected

Added in API level 21
void onConnected ()

Invoked after connect() when the request has successfully completed.

onConnectionFailed

Added in API level 21
void onConnectionFailed ()

Invoked when the connection to the media browser failed.

onConnectionSuspended

Added in API level 21
void onConnectionSuspended ()

Invoked when the client is disconnected from the media browser.

Hooray!