android.media.session


Interfaces

OnActiveSessionsChangedListener

Listens for changes to the list of active sessions.

OnMediaKeyEventSessionChangedListener

Listener to receive changes in the media key event session, which would receive a media key event unless specified.

OnSession2TokensChangedListener

This API is not generally intended for third party application developers.

Classes

MediaController

Allows an app to interact with an ongoing media session.

MediaSession

Allows interaction with media controllers, volume keys, media buttons, and transport controls.

MediaSessionManager

Provides support for interacting with media sessions that applications have published to express their ongoing media playback state.

PlaybackState

Playback state for a MediaSession.