MetadataKey MetadataKey Enum

Definition

public enum MetadataKey
type MetadataKey = 
Inheritance
MetadataKeyMetadataKey

Fields

Album Album 1

The metadata key to retrieve the information about the album title of the data source.

Albumartist Albumartist 13

The metadata key to retrieve the information about the performers or artist associated with the data source.

Artist Artist 2

The metadata key to retrieve the information about the artist of the data source.

Author Author 3

The metadata key to retrieve the information about the author of the data source.

Bitrate Bitrate 20

This key retrieves the average bitrate (in bits/sec), if available.

CaptureFramerate CaptureFramerate 25
CdTrackNumber CdTrackNumber 0

The metadata key to retrieve the numeric string describing the order of the audio data source on its original recording.

Compilation Compilation 15

The metadata key to retrieve the music album compilation status.

Composer Composer 4

The metadata key to retrieve the information about the composer of the data source.

Date Date 5

The metadata key to retrieve the date when the data source was created or modified.

DiscNumber DiscNumber 14

The metadata key to retrieve the numberic string that describes which part of a set the audio data source comes from.

Duration Duration 9

The metadata key to retrieve the playback duration of the data source.

Genre Genre 6

The metadata key to retrieve the content type or genre of the data source.

HasAudio HasAudio 16

If this key exists the media contains audio content.

HasVideo HasVideo 17

If this key exists the media contains video content.

Location Location 23

This key retrieves the location information, if available. The location should be specified according to ISO-6709 standard, under a mp4/3gp box "@xyz".

Mimetype Mimetype 12

The metadata key to retrieve the mime type of the data source.

NumTracks NumTracks 10

The metadata key to retrieve the number of tracks, such as audio, video, text, in the data source, such as a mp4 or 3gpp file.

Title Title 7

The metadata key to retrieve the data source title.

VideoHeight VideoHeight 19

If the media contains video, this key retrieves its height.

VideoRotation VideoRotation 24

This key retrieves the video rotation angle in degrees, if available. The video rotation angle may be 0, 90, 180, or 270 degrees.

VideoWidth VideoWidth 18

If the media contains video, this key retrieves its width.

Writer Writer 11

The metadata key to retrieve the information of the writer (such as lyricist) of the data source.

Year Year 8

The metadata key to retrieve the year when the data source was created or modified.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to