added in version 24.1.0
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 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

From class java.lang.Object

Public constructors

MediaBrowserCompat.ConnectionCallback

added in version 24.1.0
MediaBrowserCompat.ConnectionCallback ()

Public methods

onConnected

added in version 24.1.0
void onConnected ()

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

onConnectionFailed

added in version 24.1.0
void onConnectionFailed ()

Invoked when the connection to the media browser failed.

onConnectionSuspended

added in version 24.1.0
void onConnectionSuspended ()

Invoked when the client is disconnected from the media browser.