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

ConnectionCallback()

Public methods

void onConnected()

Invoked after MediaBrowser#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

ConnectionCallback

public ConnectionCallback ()

Public methods

onConnected

Added in API level 21
public void onConnected ()

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

onConnectionFailed

Added in API level 21
public void onConnectionFailed ()

Invoked when the connection to the media browser failed.

onConnectionSuspended

Added in API level 21
public void onConnectionSuspended ()

Invoked when the client is disconnected from the media browser.