added in version 22.1.0
belongs to Maven artifact com.android.support:support-media-compat:28.0.0-alpha1

MediaMetadataCompat

public final class MediaMetadataCompat
extends Object implements Parcelable

java.lang.Object
   ↳ android.support.v4.media.MediaMetadataCompat


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

Summary

Nested classes

class MediaMetadataCompat.Builder

Use to build MediaMetadata objects. 

Constants

String METADATA_KEY_ADVERTISEMENT

Whether the media is an advertisement.

String METADATA_KEY_ALBUM

The album title for the media.

String METADATA_KEY_ALBUM_ART

The artwork for the album of the media's original source as a Bitmap.

String METADATA_KEY_ALBUM_ARTIST

The artist for the album of the media's original source.

String METADATA_KEY_ALBUM_ART_URI

The artwork for the album of the media's original source as a Uri style String.

String METADATA_KEY_ART

The artwork for the media as a Bitmap.

String METADATA_KEY_ARTIST

The artist of the media.

String METADATA_KEY_ART_URI

The artwork for the media as a Uri style String.

String METADATA_KEY_AUTHOR

The author of the media.

String METADATA_KEY_BT_FOLDER_TYPE

The bluetooth folder type of the media specified in the section 6.10.2.2 of the Bluetooth AVRCP 1.5.

String METADATA_KEY_COMPILATION

The compilation status of the media.

String METADATA_KEY_COMPOSER

The composer of the media.

String METADATA_KEY_DATE

The date the media was created or published.

String METADATA_KEY_DISC_NUMBER

The disc number for the media's original source.

String METADATA_KEY_DISPLAY_DESCRIPTION

A description that is suitable for display to the user.

String METADATA_KEY_DISPLAY_ICON

An icon or thumbnail that is suitable for display to the user.

String METADATA_KEY_DISPLAY_ICON_URI

An icon or thumbnail that is suitable for display to the user.

String METADATA_KEY_DISPLAY_SUBTITLE

A subtitle that is suitable for display to the user.

String METADATA_KEY_DISPLAY_TITLE

A title that is suitable for display to the user.

String METADATA_KEY_DOWNLOAD_STATUS

The download status of the media which will be used for later offline playback.

String METADATA_KEY_DURATION

The duration of the media in ms.

String METADATA_KEY_GENRE

The genre of the media.

String METADATA_KEY_MEDIA_ID

A String key for identifying the content.

String METADATA_KEY_MEDIA_URI

A Uri formatted String representing the content.

String MET