Android APIs
public static class

MediaBrowser.ConnectionCallback

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MediaBrowser.ConnectionCallback ()

Added in API level 21

Public Methods

public void onConnected ()

Added in API level 21

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

public void onConnectionFailed ()

Added in API level 21

Invoked when the connection to the media browser failed.

public void onConnectionSuspended ()

Added in API level 21

Invoked when the client is disconnected from the media browser.