Sdílet prostřednictvím


MetadataKey Enum

Definition

public enum MetadataKey
type MetadataKey = 
Inheritance
MetadataKey

Fields

Album 1

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

Albumartist 13

The metadata key to retrieve the information about the performers or artist associated with 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.

Bitrate 20

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

BitsPerSample 39
CaptureFramerate 25
CdTrackNumber 0

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

ColorRange 37
ColorStandard 35
ColorTransfer 36
Compilation 15

The metadata key to retrieve the music album compilation status.

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.

DiscNumber 14

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

Duration 9

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

ExifLength 34
ExifOffset 33
Genre 6

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

HasAudio 16

If this key exists the media contains audio content.

HasImage 26
HasVideo 17

If this key exists the media contains video content.

ImageCount 27
ImageHeight 30
ImagePrimary 28
ImageRotation 31
ImageWidth 29
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 12

The metadata key to retrieve the mime type 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.

SampleRate 38
Title 7

The metadata key to retrieve the data source title.

VideoFrameCount 32
VideoHeight 19

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

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 18

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

Writer 11

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

XmpLength 42
XmpOffset 41
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