Most visited

Recently visited

Added in API level 21

MediaSessionManager.OnActiveSessionsChangedListener

public static interface MediaSessionManager.OnActiveSessionsChangedListener

android.media.session.MediaSessionManager.OnActiveSessionsChangedListener


Listens for changes to the list of active sessions. This can be added using addOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener, ComponentName).

Summary

Public methods

abstract void onActiveSessionsChanged(List<MediaController> controllers)

Public methods

onActiveSessionsChanged

Added in API level 21
void onActiveSessionsChanged (List<MediaController> controllers)

Parameters
controllers List

Hooray!