Listener
Functions
Link copied to clipboard
open fun onCurrentSessionChanged(oldSession: PlaybackSessionManager.SessionInfo?, newSession: PlaybackSessionManager.SessionInfo?)
On current session changed from oldSession to newSession. onSessionDestroyed with oldSession is called right after.
Link copied to clipboard
On session created
Link copied to clipboard
On session destroyed. The session won't be current anymore.