Package com.google.android.exoplayer2
Class MediaMetadata
- java.lang.Object
-
- com.google.android.exoplayer2.MediaMetadata
-
- All Implemented Interfaces:
Bundleable
@Deprecated public final class MediaMetadata extends Object implements Bundleable
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaMetadata.BuilderDeprecated.A builder forMediaMetadatainstances.static interfaceMediaMetadata.FolderTypeDeprecated.UseisBrowsableto indicate if an item is a browsable folder and usemediaTypeto indicate the type of the folder.static interfaceMediaMetadata.MediaTypeDeprecated.The type of content described by the media item.static interfaceMediaMetadata.PictureTypeDeprecated.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 CharSequencealbumArtistDeprecated.Optional album artist.CharSequencealbumTitleDeprecated.Optional album title.CharSequenceartistDeprecated.Optional artist.byte[]artworkDataDeprecated.Optional artwork data as a compressed byte array.@PictureType IntegerartworkDataTypeDeprecated.OptionalMediaMetadata.PictureTypeof the artwork data.UriartworkUriDeprecated.Optional artworkUri.CharSequencecompilationDeprecated.Optional compilation.CharSequencecomposerDeprecated.Optional composer.CharSequenceconductorDeprecated.Optional conductor.static Bundleable.Creator<MediaMetadata>CREATORDeprecated.Object that can restoreMediaMetadatafrom aBundle.CharSequencedescriptionDeprecated.Optional description.IntegerdiscNumberDeprecated.Optional disc number.CharSequencedisplayTitleDeprecated.Optional display title.static MediaMetadataEMPTYDeprecated.EmptyMediaMetadata.BundleextrasDeprecated.Optional extrasBundle.static intFOLDER_TYPE_ALBUMSDeprecated.static intFOLDER_TYPE_ARTISTSDeprecated.static intFOLDER_TYPE_GENRESDeprecated.static intFOLDER_TYPE_MIXEDDeprecated.static intFOLDER_TYPE_NONEDeprecated.UseisBrowsableset to false instead.static intFOLDER_TYPE_PLAYLISTSDeprecated.static intFOLDER_TYPE_TITLESDeprecated.UseisBrowsableset to true instead.static intFOLDER_TYPE_YEARSDeprecated.@FolderType IntegerfolderTypeDeprecated.UseisBrowsableto indicate if an item is a browsable folder and usemediaTypeto indicate the type of the folder.CharSequencegenreDeprecated.Optional genre.BooleanisBrowsableDeprecated.Optional boolean to indicate that the media is a browsable folder.BooleanisPlayableDeprecated.Optional boolean to indicate that the media is playable.static intMEDIA_TYPE_ALBUMDeprecated.MediaMetadata.MediaTypefor a group of items (e.g.,music) belonging to an album.static intMEDIA_TYPE_ARTISTDeprecated.MediaMetadata.MediaTypefor a group of items (e.g.,music) from the same artist.static intMEDIA_TYPE_AUDIO_BOOKDeprecated.MediaMetadata.MediaTypefor a group of items forming an audio book.static intMEDIA_TYPE_AUDIO_BOOK_CHAPTERDeprecated.MediaMetadata.MediaTypefor an audio book chapter.static intMEDIA_TYPE_FOLDER_ALBUMSDeprecated.MediaMetadata.MediaTypefor a folder containing albums.static intMEDIA_TYPE_FOLDER_ARTISTSDeprecated.MediaMetadata.MediaTypefor a folder containing artists.static intMEDIA_TYPE_FOLDER_AUDIO_BOOKSDeprecated.MediaMetadata.MediaTypefor a folder containing audio books.static intMEDIA_TYPE_FOLDER_GENRESDeprecated.MediaMetadata.MediaTypefor a folder containing genres.static intMEDIA_TYPE_FOLDER_MIXEDDeprecated.MediaMetadata.MediaTypefor a folder with mixed or undetermined content.static intMEDIA_TYPE_FOLDER_MOVIESDeprecated.MediaMetadata.MediaTypefor a folder containing movies.static intMEDIA_TYPE_FOLDER_NEWSDeprecated.MediaMetadata.MediaTypefor a folder containing news.static intMEDIA_TYPE_FOLDER_PLAYLISTSDeprecated.MediaMetadata.MediaTypefor a folder containing playlists.static intMEDIA_TYPE_FOLDER_PODCASTSDeprecated.MediaMetadata.MediaTypefor a folder containing podcasts.static intMEDIA_TYPE_FOLDER_RADIO_STATIONSDeprecated.MediaMetadata.MediaTypefor a folder containing radio stations.static intMEDIA_TYPE_FOLDER_TRAILERSDeprecated.MediaMetadata.MediaTypefor a folder containing movie trailers.static intMEDIA_TYPE_FOLDER_TV_CHANNELSDeprecated.MediaMetadata.MediaTypefor a folder containing TV channels.static intMEDIA_TYPE_FOLDER_TV_SERIESDeprecated.MediaMetadata.MediaTypefor a folder containing TV series.static intMEDIA_TYPE_FOLDER_TV_SHOWSDeprecated.MediaMetadata.MediaTypefor a folder containing TV shows.static intMEDIA_TYPE_FOLDER_VIDEOSDeprecated.MediaMetadata.MediaTypefor a folder containing videos.static intMEDIA_TYPE_FOLDER_YEARSDeprecated.MediaMetadata.MediaTypefor a folder containing years.static intMEDIA_TYPE_GENREDeprecated.MediaMetadata.MediaTypefor a group of items (e.g.,music) of the same genre.static intMEDIA_TYPE_MIXEDDeprecated.Media of undetermined type or a mix of multiple media types.static intMEDIA_TYPE_MOVIEDeprecated.MediaMetadata.MediaTypefor a movie.static intMEDIA_TYPE_MUSICDeprecated.MediaMetadata.MediaTypefor music.static intMEDIA_TYPE_NEWSDeprecated.MediaMetadata.MediaTypefor news.static intMEDIA_TYPE_PLAYLISTDeprecated.MediaMetadata.MediaTypefor a group of items (e.g.,music) forming a playlist.static intMEDIA_TYPE_PODCASTDeprecated.MediaMetadata.MediaTypefor a group of items belonging to a podcast.static intMEDIA_TYPE_PODCAST_EPISODEDeprecated.MediaMetadata.MediaTypefor a podcast episode.static intMEDIA_TYPE_RADIO_STATIONDeprecated.MediaMetadata.MediaTypefor a radio station.static intMEDIA_TYPE_TRAILERDeprecated.MediaMetadata.MediaTypefor a movie trailer.static intMEDIA_TYPE_TV_CHANNELDeprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV channel.static intMEDIA_TYPE_TV_SEASONDeprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV series.static intMEDIA_TYPE_TV_SERIESDeprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV series.static intMEDIA_TYPE_TV_SHOWDeprecated.MediaMetadata.MediaTypefor a TV show.static intMEDIA_TYPE_VIDEODeprecated.MediaMetadata.MediaTypefor a video.static intMEDIA_TYPE_YEARDeprecated.MediaMetadata.MediaTypefor a group of items (e.g.,music) from the same year.@MediaType IntegermediaTypeDeprecated.OptionalMediaMetadata.MediaType.RatingoverallRatingDeprecated.Optional overallRating.static intPICTURE_TYPE_A_BRIGHT_COLORED_FISHDeprecated.static intPICTURE_TYPE_ARTIST_PERFORMERDeprecated.static intPICTURE_TYPE_BACK_COVERDeprecated.static intPICTURE_TYPE_BAND_ARTIST_LOGODeprecated.static intPICTURE_TYPE_BAND_ORCHESTRADeprecated.static intPICTURE_TYPE_COMPOSERDeprecated.static intPICTURE_TYPE_CONDUCTORDeprecated.static intPICTURE_TYPE_DURING_PERFORMANCEDeprecated.static intPICTURE_TYPE_DURING_RECORDINGDeprecated.static intPICTURE_TYPE_FILE_ICONDeprecated.static intPICTURE_TYPE_FILE_ICON_OTHERDeprecated.static intPICTURE_TYPE_FRONT_COVERDeprecated.static intPICTURE_TYPE_ILLUSTRATIONDeprecated.static intPICTURE_TYPE_LEAD_ARTIST_PERFORMERDeprecated.static intPICTURE_TYPE_LEAFLET_PAGEDeprecated.static intPICTURE_TYPE_LYRICISTDeprecated.static intPICTURE_TYPE_MEDIADeprecated.static intPICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTUREDeprecated.static intPICTURE_TYPE_OTHERDeprecated.static intPICTURE_TYPE_PUBLISHER_STUDIO_LOGODeprecated.static intPICTURE_TYPE_RECORDING_LOCATIONDeprecated.IntegerrecordingDayDeprecated.Optional day of the recording date.IntegerrecordingMonthDeprecated.Optional month of the recording date.IntegerrecordingYearDeprecated.Optional year of the recording date.IntegerreleaseDayDeprecated.Optional day of the release date.IntegerreleaseMonthDeprecated.Optional month of the release date.IntegerreleaseYearDeprecated.Optional year of the release date.CharSequencestationDeprecated.Optional name of the station streaming the media.CharSequencesubtitleDeprecated.Optional subtitle.CharSequencetitleDeprecated.Optional title.IntegertotalDiscCountDeprecated.Optional total number of discs.IntegertotalTrackCountDeprecated.Optional total number of tracks.IntegertrackNumberDeprecated.Optional track number.RatinguserRatingDeprecated.Optional userRating.CharSequencewriterDeprecated.Optional writer.IntegeryearDeprecated.UserecordingYearinstead.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MediaMetadata.BuilderbuildUpon()Deprecated.Returns a newMediaMetadata.Builderinstance with the currentMediaMetadatafields.booleanequals(Object obj)Deprecated.inthashCode()Deprecated.BundletoBundle()Deprecated.Returns aBundlerepresenting the information stored in this object.
-
-
-
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.MediaTypefor music.- See Also:
- Constant Field Values
-
MEDIA_TYPE_AUDIO_BOOK_CHAPTER
public static final int MEDIA_TYPE_AUDIO_BOOK_CHAPTER
Deprecated.MediaMetadata.MediaTypefor an audio book chapter.- See Also:
- Constant Field Values
-
MEDIA_TYPE_PODCAST_EPISODE
public static final int MEDIA_TYPE_PODCAST_EPISODE
Deprecated.MediaMetadata.MediaTypefor a podcast episode.- See Also:
- Constant Field Values
-
MEDIA_TYPE_RADIO_STATION
public static final int MEDIA_TYPE_RADIO_STATION
Deprecated.MediaMetadata.MediaTypefor a radio station.- See Also:
- Constant Field Values
-
MEDIA_TYPE_NEWS
public static final int MEDIA_TYPE_NEWS
Deprecated.MediaMetadata.MediaTypefor news.- See Also:
- Constant Field Values
-
MEDIA_TYPE_VIDEO
public static final int MEDIA_TYPE_VIDEO
Deprecated.MediaMetadata.MediaTypefor a video.- See Also:
- Constant Field Values
-
MEDIA_TYPE_TRAILER
public static final int MEDIA_TYPE_TRAILER
Deprecated.MediaMetadata.MediaTypefor a movie trailer.- See Also:
- Constant Field Values
-
MEDIA_TYPE_MOVIE
public static final int MEDIA_TYPE_MOVIE
Deprecated.MediaMetadata.MediaTypefor a movie.- See Also:
- Constant Field Values
-
MEDIA_TYPE_TV_SHOW
public static final int MEDIA_TYPE_TV_SHOW
Deprecated.MediaMetadata.MediaTypefor a TV show.- See Also:
- Constant Field Values
-
MEDIA_TYPE_ALBUM
public static final int MEDIA_TYPE_ALBUM
Deprecated.MediaMetadata.MediaTypefor 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.MediaTypefor 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.MediaTypefor 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.MediaTypefor 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.MediaTypefor 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.MediaTypefor a group of items forming an audio book. Items in this group are typically of typeMEDIA_TYPE_AUDIO_BOOK_CHAPTER.- See Also:
- Constant Field Values
-
MEDIA_TYPE_PODCAST
public static final int MEDIA_TYPE_PODCAST
Deprecated.MediaMetadata.MediaTypefor a group of items belonging to a podcast. Items in this group are typically of typeMEDIA_TYPE_PODCAST_EPISODE.- See Also:
- Constant Field Values
-
MEDIA_TYPE_TV_CHANNEL
public static final int MEDIA_TYPE_TV_CHANNEL
Deprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV channel. Items in this group are typically of typeMEDIA_TYPE_TV_SHOW,MEDIA_TYPE_TV_SERIESorMEDIA_TYPE_MOVIE.- See Also:
- Constant Field Values
-
MEDIA_TYPE_TV_SERIES
public static final int MEDIA_TYPE_TV_SERIES
Deprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV series. Items in this group are typically of typeMEDIA_TYPE_TV_SHOWorMEDIA_TYPE_TV_SEASON.- See Also:
- Constant Field Values
-
MEDIA_TYPE_TV_SEASON
public static final int MEDIA_TYPE_TV_SEASON
Deprecated.MediaMetadata.MediaTypefor a group of items that are part of a TV series. Items in this group are typically of typeMEDIA_TYPE_TV_SHOW.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_MIXED
public static final int MEDIA_TYPE_FOLDER_MIXED
Deprecated.MediaMetadata.MediaTypefor 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.MediaTypefor a folder containing albums.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_ARTISTS
public static final int MEDIA_TYPE_FOLDER_ARTISTS
Deprecated.MediaMetadata.MediaTypefor a folder containing artists.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_GENRES
public static final int MEDIA_TYPE_FOLDER_GENRES
Deprecated.MediaMetadata.MediaTypefor a folder containing genres.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_PLAYLISTS
public static final int MEDIA_TYPE_FOLDER_PLAYLISTS
Deprecated.MediaMetadata.MediaTypefor a folder containing playlists.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_YEARS
public static final int MEDIA_TYPE_FOLDER_YEARS
Deprecated.MediaMetadata.MediaTypefor 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.MediaTypefor a folder containing audio books.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_PODCASTS
public static final int MEDIA_TYPE_FOLDER_PODCASTS
Deprecated.MediaMetadata.MediaTypefor 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.MediaTypefor 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.MediaTypefor 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.MediaTypefor 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.MediaTypefor a folder containing radio stations.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_NEWS
public static final int MEDIA_TYPE_FOLDER_NEWS
Deprecated.MediaMetadata.MediaTypefor a folder containing news.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_VIDEOS
public static final int MEDIA_TYPE_FOLDER_VIDEOS
Deprecated.MediaMetadata.MediaTypefor a folder containing videos.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_TRAILERS
public static final int MEDIA_TYPE_FOLDER_TRAILERS
Deprecated.MediaMetadata.MediaTypefor a folder containing movie trailers.- See Also:
- Constant Field Values
-
MEDIA_TYPE_FOLDER_MOVIES
public static final int MEDIA_TYPE_FOLDER_MOVIES
Deprecated.MediaMetadata.MediaTypefor a folder containing movies.- See Also:
- Constant Field Values
-
FOLDER_TYPE_NONE
@Deprecated public static final int FOLDER_TYPE_NONE
Deprecated.UseisBrowsableset to false instead.Type for an item that is not a folder.- See Also:
- Constant Field Values
-
FOLDER_TYPE_MIXED
@Deprecated public static final int FOLDER_TYPE_MIXED
Deprecated.Type for a folder containing media of mixed types.- See Also:
- Constant Field Values
-
FOLDER_TYPE_TITLES
@Deprecated public static final int FOLDER_TYPE_TITLES
Deprecated.UseisBrowsableset to true instead.Type for a folder containing only playable media.- See Also:
- Constant Field Values
-
FOLDER_TYPE_ALBUMS
@Deprecated public static final int FOLDER_TYPE_ALBUMS
Deprecated.Type for a folder containing media categorized by album.- See Also:
- Constant Field Values
-
FOLDER_TYPE_ARTISTS
@Deprecated public static final int FOLDER_TYPE_ARTISTS
Deprecated.Type for a folder containing media categorized by artist.- See Also:
- Constant Field Values
-
FOLDER_TYPE_GENRES
@Deprecated public static final int FOLDER_TYPE_GENRES
Deprecated.Type for a folder containing media categorized by genre.- See Also:
- Constant Field Values
-
FOLDER_TYPE_PLAYLISTS
@Deprecated public static final int FOLDER_TYPE_PLAYLISTS
Deprecated.Type for a folder containing a playlist.- See Also:
- Constant Field Values
-
FOLDER_TYPE_YEARS
@Deprecated public static final int FOLDER_TYPE_YEARS
Deprecated.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 EMPTY
Deprecated.EmptyMediaMetadata.
-
title
@Nullable public final CharSequence title
Deprecated.Optional title.
-
artist
@Nullable public final CharSequence artist
Deprecated.Optional artist.
-
albumTitle
@Nullable public final CharSequence albumTitle
Deprecated.Optional album title.
-
albumArtist
@Nullable public final CharSequence albumArtist
Deprecated.Optional album artist.
-
displayTitle
@Nullable public final CharSequence displayTitle
Deprecated.Optional display title.
-
subtitle
@Nullable public final CharSequence subtitle
Deprecated.Optional subtitle.This is the secondary title of the media, unrelated to closed captions.
-
description
@Nullable public final CharSequence description
Deprecated.Optional description.
-
artworkData
@Nullable public final byte[] artworkData
Deprecated.Optional artwork data as a compressed byte array.
-
artworkDataType
@Nullable @PictureType public final @PictureType Integer artworkDataType
Deprecated.OptionalMediaMetadata.PictureTypeof the artwork data.
-
trackNumber
@Nullable public final Integer trackNumber
Deprecated.Optional track number.
-
totalTrackCount
@Nullable public final Integer totalTrackCount
Deprecated.Optional total number of tracks.
-
folderType
@Deprecated @Nullable @FolderType public final @FolderType Integer folderType
Deprecated.UseisBrowsableto indicate if an item is a browsable folder and usemediaTypeto indicate the type of the folder.OptionalMediaMetadata.FolderType.
-
isBrowsable
@Nullable public final Boolean isBrowsable
Deprecated.Optional boolean to indicate that the media is a browsable folder.
-
isPlayable
@Nullable public final Boolean isPlayable
Deprecated.Optional boolean to indicate that the media is playable.
-
year
@Deprecated @Nullable public final Integer year
Deprecated.UserecordingYearinstead.
-
recordingYear
@Nullable public final Integer recordingYear
Deprecated.Optional year of the recording date.
-
recordingMonth
@Nullable public final Integer 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 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 releaseYear
Deprecated.Optional year of the release date.
-
releaseMonth
@Nullable public final Integer 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 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 writer
Deprecated.Optional writer.
-
composer
@Nullable public final CharSequence composer
Deprecated.Optional composer.
-
conductor
@Nullable public final CharSequence conductor
Deprecated.Optional conductor.
-
discNumber
@Nullable public final Integer discNumber
Deprecated.Optional disc number.
-
totalDiscCount
@Nullable public final Integer totalDiscCount
Deprecated.Optional total number of discs.
-
genre
@Nullable public final CharSequence genre
Deprecated.Optional genre.
-
compilation
@Nullable public final CharSequence compilation
Deprecated.Optional compilation.
-
station
@Nullable public final CharSequence station
Deprecated.Optional name of the station streaming the media.
-
mediaType
@Nullable public final @MediaType Integer mediaType
Deprecated.OptionalMediaMetadata.MediaType.
-
extras
@Nullable public final Bundle extras
Deprecated.Optional extrasBundle.Given the complexities of checking the equality of two
Bundles, this is not considered in theequals(Object)orhashCode().
-
CREATOR
public static final Bundleable.Creator<MediaMetadata> CREATOR
Deprecated.Object that can restoreMediaMetadatafrom aBundle.
-
-
Method Detail
-
buildUpon
public MediaMetadata.Builder buildUpon()
Deprecated.Returns a newMediaMetadata.Builderinstance with the currentMediaMetadatafields.
-
toBundle
public Bundle toBundle()
Deprecated.Description copied from interface:BundleableReturns aBundlerepresenting the information stored in this object.- Specified by:
toBundlein interfaceBundleable
-
-