belongs to Maven artifact com.android.support:support-media-compat:28.0.0-alpha1
MediaBrowserCompat.ConnectionCallback
public
static
class
MediaBrowserCompat.ConnectionCallback
extends Object
java.lang.Object | |
↳ | android.support.v4.media.MediaBrowserCompat.ConnectionCallback |
Callbacks for connection related events.
Summary
Public constructors | |
---|---|
MediaBrowserCompat.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 | |
---|---|
From
class
java.lang.Object
|
Public constructors
MediaBrowserCompat.ConnectionCallback
MediaBrowserCompat.ConnectionCallback ()
Public methods
onConnected
void onConnected ()
Invoked after connect()
when the request has successfully
completed.
onConnectionFailed
void onConnectionFailed ()
Invoked when the connection to the media browser failed.
onConnectionSuspended
void onConnectionSuspended ()
Invoked when the client is disconnected from the media browser.
Classes
- AudioAttributesCompat
- AudioAttributesCompat.Builder
- MediaBrowserCompat
- MediaBrowserCompat.ConnectionCallback
- MediaBrowserCompat.CustomActionCallback
- MediaBrowserCompat.ItemCallback
- MediaBrowserCompat.MediaItem
- MediaBrowserCompat.SearchCallback
- MediaBrowserCompat.SubscriptionCallback
- MediaBrowserServiceCompat
- MediaBrowserServiceCompat.BrowserRoot
- MediaBrowserServiceCompat.Result
- MediaDescriptionCompat
- MediaDescriptionCompat.Builder
- MediaMetadataCompat
- MediaMetadataCompat.Builder
- RatingCompat
- VolumeProviderCompat
- VolumeProviderCompat.Callback