Android APIs
package

android.media.session

Classes

MediaController Allows an app to interact with an ongoing media session. 
MediaController.Callback Callback for receiving updates on from the session. 
MediaController.TransportControls Interface for controlling media playback on a session. 
MediaSession Allows interaction with media controllers, volume keys, media buttons, and transport controls. 
MediaSession.Callback Receives generic commands or updates from controllers and the system. 
MediaSession.TransportControlsCallback Receives transport control commands. 
MediaSessionManager MediaSessionManager allows the creation and control of MediaSessions in the system. 
MediaSessionToken Represents an ongoing session. 
PlaybackState Playback state for a MediaSession
RemoteVolumeProvider Handles requests to adjust or set the volume on a session.