Partager via


MetadataKey Enum

Definition

public enum MetadataKey
type MetadataKey = 
Inheritance
MetadataKey

Fields

Name Value Description
CdTrackNumber 0

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

Album 1

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

Artist 2

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

Author 3

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

Composer 4

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

Date 5

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

Genre 6

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

Title 7

The metadata key to retrieve the data source title.

Year 8

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

Duration 9

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

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.

Writer 11

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

Mimetype 12

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

Albumartist 13

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

DiscNumber 14

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

Compilation 15

The metadata key to retrieve the music album compilation status.

HasAudio 16

If this key exists the media contains audio content.

HasVideo 17

If this key exists the media contains video content.

VideoWidth 18

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

VideoHeight 19

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

Bitrate 20

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

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".

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.

CaptureFramerate 25
HasImage 26
ImageCount 27
ImagePrimary 28
ImageWidth 29
ImageHeight 30
ImageRotation 31
VideoFrameCount 32
ExifOffset 33
ExifLength 34
ColorStandard 35
ColorTransfer 36
ColorRange 37
SampleRate 38
BitsPerSample 39
XmpOffset 41
XmpLength 42

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