Class MediaMetadata

    • Field Detail

      • FOLDER_TYPE_NONE

        public static final int FOLDER_TYPE_NONE
        Type for an item that is not a folder.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_MIXED

        public static final int FOLDER_TYPE_MIXED
        Type for a folder containing media of mixed types.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_TITLES

        public static final int FOLDER_TYPE_TITLES
        Type for a folder containing only playable media.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_ALBUMS

        public static final int FOLDER_TYPE_ALBUMS
        Type for a folder containing media categorized by album.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_ARTISTS

        public static final int FOLDER_TYPE_ARTISTS
        Type for a folder containing media categorized by artist.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_GENRES

        public static final int FOLDER_TYPE_GENRES
        Type for a folder containing media categorized by genre.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_PLAYLISTS

        public static final int FOLDER_TYPE_PLAYLISTS
        Type for a folder containing a playlist.
        See Also:
        Constant Field Values
      • FOLDER_TYPE_YEARS

        public static final int FOLDER_TYPE_YEARS
        Type for a folder containing media categorized by year.
        See Also:
        Constant Field Values
      • PICTURE_TYPE_FILE_ICON_OTHER

        public static final int PICTURE_TYPE_FILE_ICON_OTHER
        See Also:
        Constant Field Values
      • PICTURE_TYPE_FRONT_COVER

        public static final int PICTURE_TYPE_FRONT_COVER
        See Also:
        Constant Field Values
      • PICTURE_TYPE_BACK_COVER

        public static final int PICTURE_TYPE_BACK_COVER
        See Also:
        Constant Field Values
      • PICTURE_TYPE_LEAFLET_PAGE

        public static final int PICTURE_TYPE_LEAFLET_PAGE
        See Also:
        Constant Field Values
      • PICTURE_TYPE_LEAD_ARTIST_PERFORMER

        public static final int PICTURE_TYPE_LEAD_ARTIST_PERFORMER
        See Also:
        Constant Field Values
      • PICTURE_TYPE_ARTIST_PERFORMER

        public static final int PICTURE_TYPE_ARTIST_PERFORMER
        See Also:
        Constant Field Values
      • PICTURE_TYPE_BAND_ORCHESTRA

        public static final int PICTURE_TYPE_BAND_ORCHESTRA
        See Also:
        Constant Field Values
      • PICTURE_TYPE_RECORDING_LOCATION

        public static final int PICTURE_TYPE_RECORDING_LOCATION
        See Also:
        Constant Field Values
      • PICTURE_TYPE_DURING_RECORDING

        public static final int PICTURE_TYPE_DURING_RECORDING
        See Also:
        Constant Field Values
      • PICTURE_TYPE_DURING_PERFORMANCE

        public static final int PICTURE_TYPE_DURING_PERFORMANCE
        See Also:
        Constant Field Values
      • PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE

        public static final int PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE
        See Also:
        Constant Field Values
      • PICTURE_TYPE_A_BRIGHT_COLORED_FISH

        public static final int PICTURE_TYPE_A_BRIGHT_COLORED_FISH
        See Also:
        Constant Field Values
      • PICTURE_TYPE_ILLUSTRATION

        public static final int PICTURE_TYPE_ILLUSTRATION
        See Also:
        Constant Field Values
      • PICTURE_TYPE_BAND_ARTIST_LOGO

        public static final int PICTURE_TYPE_BAND_ARTIST_LOGO
        See Also:
        Constant Field Values
      • PICTURE_TYPE_PUBLISHER_STUDIO_LOGO

        public static final int PICTURE_TYPE_PUBLISHER_STUDIO_LOGO
        See Also:
        Constant Field Values
      • title

        @Nullable
        public final CharSequence title
        Optional title.
      • artist

        @Nullable
        public final CharSequence artist
        Optional artist.
      • albumTitle

        @Nullable
        public final CharSequence albumTitle
        Optional album title.
      • albumArtist

        @Nullable
        public final CharSequence albumArtist
        Optional album artist.
      • displayTitle

        @Nullable
        public final CharSequence displayTitle
        Optional display title.
      • subtitle

        @Nullable
        public final CharSequence subtitle
        Optional subtitle.

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

      • description

        @Nullable
        public final CharSequence description
        Optional description.
      • mediaUri

        @Nullable
        public final Uri mediaUri
        Optional media Uri.
      • userRating

        @Nullable
        public final Rating userRating
        Optional user Rating.
      • overallRating

        @Nullable
        public final Rating overallRating
        Optional overall Rating.
      • artworkData

        @Nullable
        public final byte[] artworkData
        Optional artwork data as a compressed byte array.
      • artworkUri

        @Nullable
        public final Uri artworkUri
        Optional artwork Uri.
      • trackNumber

        @Nullable
        public final Integer trackNumber
        Optional track number.
      • totalTrackCount

        @Nullable
        public final Integer totalTrackCount
        Optional total number of tracks.
      • isPlayable

        @Nullable
        public final Boolean isPlayable
        Optional boolean for media playability.
      • recordingYear

        @Nullable
        public final Integer recordingYear
        Optional year of the recording date.
      • recordingMonth

        @Nullable
        public final Integer recordingMonth
        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
        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
        Optional year of the release date.
      • releaseMonth

        @Nullable
        public final Integer releaseMonth
        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
        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
        Optional writer.
      • composer

        @Nullable
        public final CharSequence composer
        Optional composer.
      • conductor

        @Nullable
        public final CharSequence conductor
        Optional conductor.
      • discNumber

        @Nullable
        public final Integer discNumber
        Optional disc number.
      • totalDiscCount

        @Nullable
        public final Integer totalDiscCount
        Optional total number of discs.
      • genre

        @Nullable
        public final CharSequence genre
        Optional genre.
      • compilation

        @Nullable
        public final CharSequence compilation
        Optional compilation.
      • station

        @Nullable
        public final CharSequence station
        Optional name of the station streaming the media.