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 |
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
public void onConnected ()
Invoked after MediaBrowser.connect()
when the request has successfully completed.
onConnectionFailed
public void onConnectionFailed ()
Invoked when the connection to the media browser failed.
onConnectionSuspended
public void onConnectionSuspended ()
Invoked when the client is disconnected from the media browser.