Added in API level 21

OnActiveSessionsChangedListener


interface OnActiveSessionsChangedListener
android.media.session.MediaSessionManager.OnActiveSessionsChangedListener

Listens for changes to the list of active sessions. This can be added using #addOnActiveSessionsChangedListener.

Summary

Public methods
abstract Unit

Public methods

onActiveSessionsChanged

Added in API level 21
abstract fun onActiveSessionsChanged(controllers: MutableList<MediaController!>?): Unit
Parameters
controllers MutableList<MediaController!>?: This value may be null.