ConnectionCallback

class ConnectionCallback
kotlin.Any
   ↳ android.support.v4.media.MediaBrowserCompat.ConnectionCallback

Callbacks for connection related events.

Summary

Public constructors

Public methods
open Unit

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

open Unit

Invoked when the client is disconnected from the media browser.

open Unit

Invoked when the connection to the media browser failed.

Public constructors

<init>

ConnectionCallback()

Public methods

onConnected

open fun onConnected(): Unit

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

onConnectionSuspended

open fun onConnectionSuspended(): Unit

Invoked when the client is disconnected from the media browser.

onConnectionFailed

open fun onConnectionFailed(): Unit

Invoked when the connection to the media browser failed.