Back to Exoplayer

MediaMetadata (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/MediaMetadata.html

latest51.9 KB
Original Source

Package com.google.android.exoplayer2

Class MediaMetadata

  • java.lang.Object

    • com.google.android.exoplayer2.MediaMetadata
  • All Implemented Interfaces:Bundleable


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classMediaMetadataextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Bundleable](Bundleable.html "interface in com.google.android.exoplayer2")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Metadata of a MediaItem, playlist, or a combination of multiple sources of Metadata.

Nested Class Summary

Nested Classes | Modifier and Type | Class | Description | | --- | --- | --- | | static class | MediaMetadata.Builder | Deprecated.

A builder for MediaMetadata instances. | | static interface | MediaMetadata.FolderType | Deprecated. Use isBrowsable to indicate if an item is a browsable folder and use mediaType to indicate the type of the folder.

| | static interface | MediaMetadata.MediaType | Deprecated.

The type of content described by the media item. | | static interface | MediaMetadata.PictureType | Deprecated.

The picture type of the artwork. |

- 

Nested classes/interfaces inherited from interface com.google.android.exoplayer2.Bundleable

Bundleable.Creator<T extends Bundleable>

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | CharSequence | albumArtist | Deprecated.

Optional album artist. | | CharSequence | albumTitle | Deprecated.

Optional album title. | | CharSequence | artist | Deprecated.

Optional artist. | | byte[] | artworkData | Deprecated.

Optional artwork data as a compressed byte array. | | @PictureType Integer | artworkDataType | Deprecated.

Optional MediaMetadata.PictureType of the artwork data. | | Uri | artworkUri | Deprecated.

Optional artwork Uri. | | CharSequence | compilation | Deprecated.

Optional compilation. | | CharSequence | composer | Deprecated.

Optional composer. | | CharSequence | conductor | Deprecated.

Optional conductor. | | static Bundleable.Creator<MediaMetadata> | CREATOR | Deprecated.

Object that can restore MediaMetadata from a Bundle. | | CharSequence | description | Deprecated.

Optional description. | | Integer | discNumber | Deprecated.

Optional disc number. | | CharSequence | displayTitle | Deprecated.

Optional display title. | | static MediaMetadata | EMPTY | Deprecated.

Empty MediaMetadata. | | Bundle | extras | Deprecated.

Optional extras Bundle. | | static int | FOLDER_TYPE_ALBUMS | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_ALBUMS instead.

| | static int | FOLDER_TYPE_ARTISTS | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_ARTISTS instead.

| | static int | FOLDER_TYPE_GENRES | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_GENRES instead.

| | static int | FOLDER_TYPE_MIXED | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_MIXED instead.

| | static int | FOLDER_TYPE_NONE | Deprecated. Use isBrowsable set to false instead.

| | static int | FOLDER_TYPE_PLAYLISTS | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_PLAYLISTS instead.

| | static int | FOLDER_TYPE_TITLES | Deprecated. Use isBrowsable set to true instead.

| | static int | FOLDER_TYPE_YEARS | Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_YEARS instead.

| | @FolderType Integer | folderType | Deprecated. Use isBrowsable to indicate if an item is a browsable folder and use mediaType to indicate the type of the folder.

| | CharSequence | genre | Deprecated.

Optional genre. | | Boolean | isBrowsable | Deprecated.

Optional boolean to indicate that the media is a browsable folder. | | Boolean | isPlayable | Deprecated.

Optional boolean to indicate that the media is playable. | | static int | MEDIA_TYPE_ALBUM | Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) belonging to an album. | | static int | MEDIA_TYPE_ARTIST | Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) from the same artist. | | static int | MEDIA_TYPE_AUDIO_BOOK | Deprecated.

MediaMetadata.MediaType for a group of items forming an audio book. | | static int | MEDIA_TYPE_AUDIO_BOOK_CHAPTER | Deprecated.

MediaMetadata.MediaType for an audio book chapter. | | static int | MEDIA_TYPE_FOLDER_ALBUMS | Deprecated.

MediaMetadata.MediaType for a folder containing albums. | | static int | MEDIA_TYPE_FOLDER_ARTISTS | Deprecated.

MediaMetadata.MediaType for a folder containing artists. | | static int | MEDIA_TYPE_FOLDER_AUDIO_BOOKS | Deprecated.

MediaMetadata.MediaType for a folder containing audio books. | | static int | MEDIA_TYPE_FOLDER_GENRES | Deprecated.

MediaMetadata.MediaType for a folder containing genres. | | static int | MEDIA_TYPE_FOLDER_MIXED | Deprecated.

MediaMetadata.MediaType for a folder with mixed or undetermined content. | | static int | MEDIA_TYPE_FOLDER_MOVIES | Deprecated.

MediaMetadata.MediaType for a folder containing movies. | | static int | MEDIA_TYPE_FOLDER_NEWS | Deprecated.

MediaMetadata.MediaType for a folder containing news. | | static int | MEDIA_TYPE_FOLDER_PLAYLISTS | Deprecated.

MediaMetadata.MediaType for a folder containing playlists. | | static int | MEDIA_TYPE_FOLDER_PODCASTS | Deprecated.

MediaMetadata.MediaType for a folder containing podcasts. | | static int | MEDIA_TYPE_FOLDER_RADIO_STATIONS | Deprecated.

MediaMetadata.MediaType for a folder containing radio stations. | | static int | MEDIA_TYPE_FOLDER_TRAILERS | Deprecated.

MediaMetadata.MediaType for a folder containing movie trailers. | | static int | MEDIA_TYPE_FOLDER_TV_CHANNELS | Deprecated.

MediaMetadata.MediaType for a folder containing TV channels. | | static int | MEDIA_TYPE_FOLDER_TV_SERIES | Deprecated.

MediaMetadata.MediaType for a folder containing TV series. | | static int | MEDIA_TYPE_FOLDER_TV_SHOWS | Deprecated.

MediaMetadata.MediaType for a folder containing TV shows. | | static int | MEDIA_TYPE_FOLDER_VIDEOS | Deprecated.

MediaMetadata.MediaType for a folder containing videos. | | static int | MEDIA_TYPE_FOLDER_YEARS | Deprecated.

MediaMetadata.MediaType for a folder containing years. | | static int | MEDIA_TYPE_GENRE | Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) of the same genre. | | static int | MEDIA_TYPE_MIXED | Deprecated.

Media of undetermined type or a mix of multiple media types. | | static int | MEDIA_TYPE_MOVIE | Deprecated.

MediaMetadata.MediaType for a movie. | | static int | MEDIA_TYPE_MUSIC | Deprecated.

MediaMetadata.MediaType for music. | | static int | MEDIA_TYPE_NEWS | Deprecated.

MediaMetadata.MediaType for news. | | static int | MEDIA_TYPE_PLAYLIST | Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) forming a playlist. | | static int | MEDIA_TYPE_PODCAST | Deprecated.

MediaMetadata.MediaType for a group of items belonging to a podcast. | | static int | MEDIA_TYPE_PODCAST_EPISODE | Deprecated.

MediaMetadata.MediaType for a podcast episode. | | static int | MEDIA_TYPE_RADIO_STATION | Deprecated.

MediaMetadata.MediaType for a radio station. | | static int | MEDIA_TYPE_TRAILER | Deprecated.

MediaMetadata.MediaType for a movie trailer. | | static int | MEDIA_TYPE_TV_CHANNEL | Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV channel. | | static int | MEDIA_TYPE_TV_SEASON | Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV series. | | static int | MEDIA_TYPE_TV_SERIES | Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV series. | | static int | MEDIA_TYPE_TV_SHOW | Deprecated.

MediaMetadata.MediaType for a TV show. | | static int | MEDIA_TYPE_VIDEO | Deprecated.

MediaMetadata.MediaType for a video. | | static int | MEDIA_TYPE_YEAR | Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) from the same year. | | @MediaType Integer | mediaType | Deprecated.

Optional MediaMetadata.MediaType. | | Rating | overallRating | Deprecated.

Optional overall Rating. | | static int | PICTURE_TYPE_A_BRIGHT_COLORED_FISH | Deprecated. | | static int | PICTURE_TYPE_ARTIST_PERFORMER | Deprecated. | | static int | PICTURE_TYPE_BACK_COVER | Deprecated. | | static int | PICTURE_TYPE_BAND_ARTIST_LOGO | Deprecated. | | static int | PICTURE_TYPE_BAND_ORCHESTRA | Deprecated. | | static int | PICTURE_TYPE_COMPOSER | Deprecated. | | static int | PICTURE_TYPE_CONDUCTOR | Deprecated. | | static int | PICTURE_TYPE_DURING_PERFORMANCE | Deprecated. | | static int | PICTURE_TYPE_DURING_RECORDING | Deprecated. | | static int | PICTURE_TYPE_FILE_ICON | Deprecated. | | static int | PICTURE_TYPE_FILE_ICON_OTHER | Deprecated. | | static int | PICTURE_TYPE_FRONT_COVER | Deprecated. | | static int | PICTURE_TYPE_ILLUSTRATION | Deprecated. | | static int | PICTURE_TYPE_LEAD_ARTIST_PERFORMER | Deprecated. | | static int | PICTURE_TYPE_LEAFLET_PAGE | Deprecated. | | static int | PICTURE_TYPE_LYRICIST | Deprecated. | | static int | PICTURE_TYPE_MEDIA | Deprecated. | | static int | PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE | Deprecated. | | static int | PICTURE_TYPE_OTHER | Deprecated. | | static int | PICTURE_TYPE_PUBLISHER_STUDIO_LOGO | Deprecated. | | static int | PICTURE_TYPE_RECORDING_LOCATION | Deprecated. | | Integer | recordingDay | Deprecated.

Optional day of the recording date. | | Integer | recordingMonth | Deprecated.

Optional month of the recording date. | | Integer | recordingYear | Deprecated.

Optional year of the recording date. | | Integer | releaseDay | Deprecated.

Optional day of the release date. | | Integer | releaseMonth | Deprecated.

Optional month of the release date. | | Integer | releaseYear | Deprecated.

Optional year of the release date. | | CharSequence | station | Deprecated.

Optional name of the station streaming the media. | | CharSequence | subtitle | Deprecated.

Optional subtitle. | | CharSequence | title | Deprecated.

Optional title. | | Integer | totalDiscCount | Deprecated.

Optional total number of discs. | | Integer | totalTrackCount | Deprecated.

Optional total number of tracks. | | Integer | trackNumber | Deprecated.

Optional track number. | | Rating | userRating | Deprecated.

Optional user Rating. | | CharSequence | writer | Deprecated.

Optional writer. | | Integer | year | Deprecated. Use recordingYear instead.

|

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | MediaMetadata.Builder | buildUpon() | Deprecated.

Returns a new MediaMetadata.Builder instance with the current MediaMetadata fields. | | boolean | equals​(Object obj) | Deprecated. | | int | hashCode() | Deprecated. | | Bundle | toBundle() | Deprecated.

Returns a Bundle representing the information stored in this object. |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

MEDIA_TYPE_MIXED

public static final int MEDIA_TYPE_MIXED

Deprecated.

Media of undetermined type or a mix of multiple media types. See Also:Constant Field Values

- 

MEDIA_TYPE_MUSIC

public static final int MEDIA_TYPE_MUSIC

Deprecated.

MediaMetadata.MediaType for music. See Also:Constant Field Values

- 

MEDIA_TYPE_AUDIO_BOOK_CHAPTER

public static final int MEDIA_TYPE_AUDIO_BOOK_CHAPTER

Deprecated.

MediaMetadata.MediaType for an audio book chapter. See Also:Constant Field Values

- 

MEDIA_TYPE_PODCAST_EPISODE

public static final int MEDIA_TYPE_PODCAST_EPISODE

Deprecated.

MediaMetadata.MediaType for a podcast episode. See Also:Constant Field Values

- 

MEDIA_TYPE_RADIO_STATION

public static final int MEDIA_TYPE_RADIO_STATION

Deprecated.

MediaMetadata.MediaType for a radio station. See Also:Constant Field Values

- 

MEDIA_TYPE_NEWS

public static final int MEDIA_TYPE_NEWS

Deprecated.

MediaMetadata.MediaType for news. See Also:Constant Field Values

- 

MEDIA_TYPE_VIDEO

public static final int MEDIA_TYPE_VIDEO

Deprecated.

MediaMetadata.MediaType for a video. See Also:Constant Field Values

- 

MEDIA_TYPE_TRAILER

public static final int MEDIA_TYPE_TRAILER

Deprecated.

MediaMetadata.MediaType for a movie trailer. See Also:Constant Field Values

- 

MEDIA_TYPE_MOVIE

public static final int MEDIA_TYPE_MOVIE

Deprecated.

MediaMetadata.MediaType for a movie. See Also:Constant Field Values

- 

MEDIA_TYPE_TV_SHOW

public static final int MEDIA_TYPE_TV_SHOW

Deprecated.

MediaMetadata.MediaType for a TV show. See Also:Constant Field Values

- 

MEDIA_TYPE_ALBUM

public static final int MEDIA_TYPE_ALBUM

Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) belonging to an album. See Also:Constant Field Values

- 

MEDIA_TYPE_ARTIST

public static final int MEDIA_TYPE_ARTIST

Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) from the same artist. See Also:Constant Field Values

- 

MEDIA_TYPE_GENRE

public static final int MEDIA_TYPE_GENRE

Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) of the same genre. See Also:Constant Field Values

- 

MEDIA_TYPE_PLAYLIST

public static final int MEDIA_TYPE_PLAYLIST

Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) forming a playlist. See Also:Constant Field Values

- 

MEDIA_TYPE_YEAR

public static final int MEDIA_TYPE_YEAR

Deprecated.

MediaMetadata.MediaType for a group of items (e.g., music) from the same year. See Also:Constant Field Values

- 

MEDIA_TYPE_AUDIO_BOOK

public static final int MEDIA_TYPE_AUDIO_BOOK

Deprecated.

MediaMetadata.MediaType for a group of items forming an audio book. Items in this group are typically of type MEDIA_TYPE_AUDIO_BOOK_CHAPTER. See Also:Constant Field Values

- 

MEDIA_TYPE_PODCAST

public static final int MEDIA_TYPE_PODCAST

Deprecated.

MediaMetadata.MediaType for a group of items belonging to a podcast. Items in this group are typically of type MEDIA_TYPE_PODCAST_EPISODE. See Also:Constant Field Values

- 

MEDIA_TYPE_TV_CHANNEL

public static final int MEDIA_TYPE_TV_CHANNEL

Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV channel. Items in this group are typically of type MEDIA_TYPE_TV_SHOW, MEDIA_TYPE_TV_SERIES or MEDIA_TYPE_MOVIE. See Also:Constant Field Values

- 

MEDIA_TYPE_TV_SERIES

public static final int MEDIA_TYPE_TV_SERIES

Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV series. Items in this group are typically of type MEDIA_TYPE_TV_SHOW or MEDIA_TYPE_TV_SEASON. See Also:Constant Field Values

- 

MEDIA_TYPE_TV_SEASON

public static final int MEDIA_TYPE_TV_SEASON

Deprecated.

MediaMetadata.MediaType for a group of items that are part of a TV series. Items in this group are typically of type MEDIA_TYPE_TV_SHOW. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_MIXED

public static final int MEDIA_TYPE_FOLDER_MIXED

Deprecated.

MediaMetadata.MediaType for a folder with mixed or undetermined content. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_ALBUMS

public static final int MEDIA_TYPE_FOLDER_ALBUMS

Deprecated.

MediaMetadata.MediaType for a folder containing albums. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_ARTISTS

public static final int MEDIA_TYPE_FOLDER_ARTISTS

Deprecated.

MediaMetadata.MediaType for a folder containing artists. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_GENRES

public static final int MEDIA_TYPE_FOLDER_GENRES

Deprecated.

MediaMetadata.MediaType for a folder containing genres. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_PLAYLISTS

public static final int MEDIA_TYPE_FOLDER_PLAYLISTS

Deprecated.

MediaMetadata.MediaType for a folder containing playlists. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_YEARS

public static final int MEDIA_TYPE_FOLDER_YEARS

Deprecated.

MediaMetadata.MediaType for a folder containing years. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_AUDIO_BOOKS

public static final int MEDIA_TYPE_FOLDER_AUDIO_BOOKS

Deprecated.

MediaMetadata.MediaType for a folder containing audio books. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_PODCASTS

public static final int MEDIA_TYPE_FOLDER_PODCASTS

Deprecated.

MediaMetadata.MediaType for a folder containing podcasts. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_TV_CHANNELS

public static final int MEDIA_TYPE_FOLDER_TV_CHANNELS

Deprecated.

MediaMetadata.MediaType for a folder containing TV channels. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_TV_SERIES

public static final int MEDIA_TYPE_FOLDER_TV_SERIES

Deprecated.

MediaMetadata.MediaType for a folder containing TV series. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_TV_SHOWS

public static final int MEDIA_TYPE_FOLDER_TV_SHOWS

Deprecated.

MediaMetadata.MediaType for a folder containing TV shows. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_RADIO_STATIONS

public static final int MEDIA_TYPE_FOLDER_RADIO_STATIONS

Deprecated.

MediaMetadata.MediaType for a folder containing radio stations. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_NEWS

public static final int MEDIA_TYPE_FOLDER_NEWS

Deprecated.

MediaMetadata.MediaType for a folder containing news. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_VIDEOS

public static final int MEDIA_TYPE_FOLDER_VIDEOS

Deprecated.

MediaMetadata.MediaType for a folder containing videos. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_TRAILERS

public static final int MEDIA_TYPE_FOLDER_TRAILERS

Deprecated.

MediaMetadata.MediaType for a folder containing movie trailers. See Also:Constant Field Values

- 

MEDIA_TYPE_FOLDER_MOVIES

public static final int MEDIA_TYPE_FOLDER_MOVIES

Deprecated.

MediaMetadata.MediaType for a folder containing movies. See Also:Constant Field Values

- 

FOLDER_TYPE_NONE

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_NONE

Deprecated. Use isBrowsable set to false instead.

Type for an item that is not a folder. See Also:Constant Field Values

- 

FOLDER_TYPE_MIXED

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_MIXED

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_MIXED instead.

Type for a folder containing media of mixed types. See Also:Constant Field Values

- 

FOLDER_TYPE_TITLES

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_TITLES

Deprecated. Use isBrowsable set to true instead.

Type for a folder containing only playable media. See Also:Constant Field Values

- 

FOLDER_TYPE_ALBUMS

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_ALBUMS

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_ALBUMS instead.

Type for a folder containing media categorized by album. See Also:Constant Field Values

- 

FOLDER_TYPE_ARTISTS

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_ARTISTS

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_ARTISTS instead.

Type for a folder containing media categorized by artist. See Also:Constant Field Values

- 

FOLDER_TYPE_GENRES

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_GENRES

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_GENRES instead.

Type for a folder containing media categorized by genre. See Also:Constant Field Values

- 

FOLDER_TYPE_PLAYLISTS

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_PLAYLISTS

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_PLAYLISTS instead.

Type for a folder containing a playlist. See Also:Constant Field Values

- 

FOLDER_TYPE_YEARS

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int FOLDER_TYPE_YEARS

Deprecated. Use isBrowsable set to true and mediaType set to MEDIA_TYPE_FOLDER_YEARS instead.

Type for a folder containing media categorized by year. See Also:Constant Field Values

- 

PICTURE_TYPE_OTHER

public static final int PICTURE_TYPE_OTHER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_FILE_ICON

public static final int PICTURE_TYPE_FILE_ICON

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_FILE_ICON_OTHER

public static final int PICTURE_TYPE_FILE_ICON_OTHER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_FRONT_COVER

public static final int PICTURE_TYPE_FRONT_COVER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_BACK_COVER

public static final int PICTURE_TYPE_BACK_COVER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_LEAFLET_PAGE

public static final int PICTURE_TYPE_LEAFLET_PAGE

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_MEDIA

public static final int PICTURE_TYPE_MEDIA

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_LEAD_ARTIST_PERFORMER

public static final int PICTURE_TYPE_LEAD_ARTIST_PERFORMER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_ARTIST_PERFORMER

public static final int PICTURE_TYPE_ARTIST_PERFORMER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_CONDUCTOR

public static final int PICTURE_TYPE_CONDUCTOR

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_BAND_ORCHESTRA

public static final int PICTURE_TYPE_BAND_ORCHESTRA

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_COMPOSER

public static final int PICTURE_TYPE_COMPOSER

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_LYRICIST

public static final int PICTURE_TYPE_LYRICIST

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_RECORDING_LOCATION

public static final int PICTURE_TYPE_RECORDING_LOCATION

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_DURING_RECORDING

public static final int PICTURE_TYPE_DURING_RECORDING

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_DURING_PERFORMANCE

public static final int PICTURE_TYPE_DURING_PERFORMANCE

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE

public static final int PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_A_BRIGHT_COLORED_FISH

public static final int PICTURE_TYPE_A_BRIGHT_COLORED_FISH

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_ILLUSTRATION

public static final int PICTURE_TYPE_ILLUSTRATION

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_BAND_ARTIST_LOGO

public static final int PICTURE_TYPE_BAND_ARTIST_LOGO

Deprecated. See Also:Constant Field Values

- 

PICTURE_TYPE_PUBLISHER_STUDIO_LOGO

public static final int PICTURE_TYPE_PUBLISHER_STUDIO_LOGO

Deprecated. See Also:Constant Field Values

- 

EMPTY

public static final[MediaMetadata](MediaMetadata.html "class in com.google.android.exoplayer2")EMPTY

Deprecated.

Empty MediaMetadata.

- 

title

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")title

Deprecated.

Optional title.

- 

artist

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")artist

Deprecated.

Optional artist.

- 

albumTitle

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")albumTitle

Deprecated.

Optional album title.

- 

albumArtist

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")albumArtist

Deprecated.

Optional album artist.

- 

displayTitle

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")displayTitle

Deprecated.

Optional display title.

- 

subtitle

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")subtitle

Deprecated.

Optional subtitle.

This is the secondary title of the media, unrelated to closed captions.

- 

description

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")description

Deprecated.

Optional description.

- 

userRating

@Nullable
public final[Rating](Rating.html "class in com.google.android.exoplayer2")userRating

Deprecated.

Optional user Rating.

- 

overallRating

@Nullable
public final[Rating](Rating.html "class in com.google.android.exoplayer2")overallRating

Deprecated.

Optional overall Rating.

- 

artworkData

@Nullable
public final byte[] artworkData

Deprecated.

Optional artwork data as a compressed byte array.

- 

artworkDataType

@Nullable[@PictureType](MediaMetadata.PictureType.html "annotation in com.google.android.exoplayer2")public final[@PictureType](MediaMetadata.PictureType.html "annotation in com.google.android.exoplayer2")[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")artworkDataType

Deprecated.

Optional MediaMetadata.PictureType of the artwork data.

- 

artworkUri

@Nullable
public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")artworkUri

Deprecated.

Optional artwork Uri.

- 

trackNumber

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")trackNumber

Deprecated.

Optional track number.

- 

totalTrackCount

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")totalTrackCount

Deprecated.

Optional total number of tracks.

- 

folderType

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")@Nullable[@FolderType](MediaMetadata.FolderType.html "annotation in com.google.android.exoplayer2")public final[@FolderType](MediaMetadata.FolderType.html "annotation in com.google.android.exoplayer2")[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")folderType

Deprecated. Use isBrowsable to indicate if an item is a browsable folder and use mediaType to indicate the type of the folder.

Optional MediaMetadata.FolderType.

- 

isBrowsable

@Nullable
public final[Boolean](https://developer.android.com/reference/java/lang/Boolean.html "class or interface in java.lang")isBrowsable

Deprecated.

Optional boolean to indicate that the media is a browsable folder.

- 

isPlayable

@Nullable
public final[Boolean](https://developer.android.com/reference/java/lang/Boolean.html "class or interface in java.lang")isPlayable

Deprecated.

Optional boolean to indicate that the media is playable.

- 

year

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")year

Deprecated. Use recordingYear instead.

- 

recordingYear

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")recordingYear

Deprecated.

Optional year of the recording date.

- 

recordingMonth

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")recordingMonth

Deprecated.

Optional month of the recording date.

Note that there is no guarantee that the month and day are a valid combination.

- 

recordingDay

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")recordingDay

Deprecated.

Optional day of the recording date.

Note that there is no guarantee that the month and day are a valid combination.

- 

releaseYear

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")releaseYear

Deprecated.

Optional year of the release date.

- 

releaseMonth

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")releaseMonth

Deprecated.

Optional month of the release date.

Note that there is no guarantee that the month and day are a valid combination.

- 

releaseDay

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")releaseDay

Deprecated.

Optional day of the release date.

Note that there is no guarantee that the month and day are a valid combination.

- 

writer

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")writer

Deprecated.

Optional writer.

- 

composer

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")composer

Deprecated.

Optional composer.

- 

conductor

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")conductor

Deprecated.

Optional conductor.

- 

discNumber

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")discNumber

Deprecated.

Optional disc number.

- 

totalDiscCount

@Nullable
public final[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")totalDiscCount

Deprecated.

Optional total number of discs.

- 

genre

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")genre

Deprecated.

Optional genre.

- 

compilation

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")compilation

Deprecated.

Optional compilation.

- 

station

@Nullable
public final[CharSequence](https://developer.android.com/reference/java/lang/CharSequence.html "class or interface in java.lang")station

Deprecated.

Optional name of the station streaming the media.

- 

mediaType

@Nullable
public final[@MediaType](MediaMetadata.MediaType.html "annotation in com.google.android.exoplayer2")[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang")mediaType

Deprecated.

Optional MediaMetadata.MediaType.

- 

extras

@Nullable
public final[Bundle](https://developer.android.com/reference/android/os/Bundle.html "class or interface in android.os")extras

Deprecated.

Optional extras Bundle.

Given the complexities of checking the equality of two Bundles, this is not considered in the equals(Object) or hashCode().

- 

CREATOR

public static final[Bundleable.Creator](Bundleable.Creator.html "interface in com.google.android.exoplayer2")<[MediaMetadata](MediaMetadata.html "class in com.google.android.exoplayer2")> CREATOR

Deprecated.

Object that can restore MediaMetadata from a Bundle.

Method Detail

- 

buildUpon

public[MediaMetadata.Builder](MediaMetadata.Builder.html "class in com.google.android.exoplayer2")buildUpon()

Deprecated.

Returns a new MediaMetadata.Builder instance with the current MediaMetadata fields.

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object

- 

toBundle

public[Bundle](https://developer.android.com/reference/android/os/Bundle.html "class or interface in android.os")toBundle()

Deprecated.

Description copied from interface: Bundleable

Returns a Bundle representing the information stored in this object. Specified by:toBundle in interface Bundleable