- <init>
- setActive
Set if this session is currently active and ready to receive commands. If set to
false your session'
- setCallback
Set the callback to receive updates for the MediaSession. This includes media
button and volume even
- setMetadata
Update the current metadata. New metadata can be created using
android.media.MediaMetadata.Builder.
- setFlags
Set any flags for the session.
- setPlaybackState
Update the current playback state.
- release
This must be called when an app has finished performing playback. If playback is
expected to start a
- getSessionToken
Retrieve a token object that can be used by apps to create a
MediaControllerCompat for interacting w
- getController
- setQueue
- setSessionActivity
- isActive
Get the current active state of this session.