Google 致力于为黑人社区推动种族平等。查看具体举措

androidx.media2.common

Interfaces

Rating

An interface to encapsulate rating information used as content metadata.

Classes

CallbackMediaItem

Structure for media item descriptor for DataSourceCallback.

DataSourceCallback

For supplying media data, implement this if your app has special requirements for the way media data is obtained.

FileMediaItem

Structure for media item for a file.

MediaItem

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

MediaMetadata

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

SessionPlayer

Base interface for all media players that want media session.

SubtitleData

Class encapsulating subtitle data, as received through the SessionPlayer.PlayerCallback#onSubtitleData interface.

UriMediaItem

Structure for media item descriptor for Uri.

VideoSize

Immutable class for describing video size.