androidx.media

Classes

AudioAttributesCompat

A class to encapsulate a collection of attributes describing information about an audio stream.

DataSourceDesc

Structure for data source descriptor.

Media2DataSource

For supplying media data to the framework.

MediaBrowser2

Browses media content offered by a MediaLibraryService2.

MediaBrowserServiceCompat

Base class for media browse services.

MediaController2

Allows an app to interact with an active MediaSession2 or a MediaSessionService2 in any status.

MediaItem2

A class with information on a single media item with the metadata information.

MediaLibraryService2

Base class for media library services.

MediaMetadata2

Contains metadata about an item, such as the title, artist, etc.

MediaPlayer2

MediaPlayer2 class can be used to control playback of audio/video files and streams.

MediaPlayerInterface

Base interface for all media players that want media session.

MediaPlaylistAgent

MediaPlaylistAgent is the abstract class an application needs to derive from to pass an object to a MediaSession2 that will override default playlist handling behaviors.

MediaSession2

Allows a media app to expose its transport controls and playback information in a process to other processes including the Android framework and other apps.

MediaSessionManager

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

MediaSessionService2

Base class for media session services, which is the service version of the MediaSession2.

Rating2

A class to encapsulate rating information used as content metadata.

SessionCommand2

Define a command that a MediaController2 can send to a MediaSession2.

SessionCommandGroup2

A set of SessionCommand2 which represents a command group.

SessionToken2

Represents an ongoing MediaSession2 or a MediaSessionService2.

VolumeProviderCompat

Handles requests to adjust or set the volume on a session.