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

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.