Listener
interface Listener
An interface for receiving notifications about session lifecycle events.
Functions
Link copied to clipboard
open fun onCurrentSessionChanged(oldSession: PlaybackSessionManager.SessionInfo?, newSession: PlaybackSessionManager.SessionInfo?)
Called when the current session changes.
Link copied to clipboard
Called when a new session is created.
Link copied to clipboard
Called when a session is destroyed. The session will no longer be the current session.