Package-level declarations

Types

Link copied to clipboard
interface ControllerInfo

Information of a controller for media sessions.

Link copied to clipboard
interface MediaSession

Allows to advertise media playback for a Player instance externally and to receive playback commands from external sources. See MediaSessionService for more details.

Link copied to clipboard
class MediaSessionBuilder(context: Context, applicationLooper: Looper, player: Player)

Creates and configures a MediaSession instance.

Link copied to clipboard

Advertises media playback for a Player instance, through a MediaSession, by displaying media controls on the lock screen and in the notification area.

Functions

Link copied to clipboard
fun MediaSession(context: Context, applicationLooper: Looper, player: Player): MediaSession

Creates and configures a MediaSession instance.