Android Guides | Samples

Android.Media.MetadataKey Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaMetadataRetriever.ExtractMetadata, RemoteControlClient+MetadataEditor.PutLong, and RemoteControlClient+MetadataEditor.PutString members.

Syntax

public enum MetadataKey

Remarks

Enumerates values returned by the following: and taken as a parameter of the MediaMetadataRetriever.ExtractMetadata, RemoteControlClient+MetadataEditor.PutLong, and RemoteControlClient+MetadataEditor.PutString members.

Members

Member NameDescription
AlbumThe metadata key to retrieve the information about the album title of the data source.
AlbumartistThe metadata key to retrieve the information about the performers or artist associated with the data source.
ArtistThe metadata key to retrieve the information about the artist of the data source.
AuthorThe metadata key to retrieve the information about the author of the data source.
BitrateThis key retrieves the average bitrate (in bits/sec), if available.
CdTrackNumberThe metadata key to retrieve the numeric string describing the order of the audio data source on its original recording.
CompilationThe metadata key to retrieve the music album compilation status.
ComposerThe metadata key to retrieve the information about the composer of the data source.
DateThe metadata key to retrieve the date when the data source was created or modified.
DiscNumberThe metadata key to retrieve the numberic string that describes which part of a set the audio data source comes from.
DurationThe metadata key to retrieve the playback duration of the data source.
GenreThe metadata key to retrieve the content type or genre of the data source.
HasAudioIf this key exists the media contains audio content.
HasVideoIf this key exists the media contains video content.
LocationThis key retrieves the location information, if available. The location should be specified according to ISO-6709 standard, under a mp4/3gp box "@xyz". Location with longitude of -90 degrees and latitude of 180 degrees will be retrieved as "-90.0000+180.0000", for instance.
MimetypeThe metadata key to retrieve the mime type of the data source. Some example mime types include: "video/mp4", "audio/mp4", "audio/amr-wb", etc.
NumTracksThe metadata key to retrieve the number of tracks, such as audio, video, text, in the data source, such as a mp4 or 3gpp file.
TitleThe metadata key to retrieve the data source title.
VideoHeightIf the media contains video, this key retrieves its height.
VideoRotationThis key retrieves the video rotation angle in degrees, if available. The video rotation angle may be 0, 90, 180, or 270 degrees.
VideoWidthIf the media contains video, this key retrieves its width.
WriterThe metadata key to retrieve the information of the writer (such as lyricist) of the data source.
YearThe metadata key to retrieve the year when the data source was created or modified.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MetadataKey are listed below.

See Also: Enum

Public Fields

AlbumMetadataKey. The metadata key to retrieve the information about the album title of the data source.
AlbumartistMetadataKey. The metadata key to retrieve the information about the performers or artist associated with the data source.
ArtistMetadataKey. The metadata key to retrieve the information about the artist of the data source.
AuthorMetadataKey. The metadata key to retrieve the information about the author of the data source.
BitrateMetadataKey. This key retrieves the average bitrate (in bits/sec), if available.
CdTrackNumberMetadataKey. The metadata key to retrieve the numeric string describing the order of the audio data source on its original recording.
CompilationMetadataKey. The metadata key to retrieve the music album compilation status.
ComposerMetadataKey. The metadata key to retrieve the information about the composer of the data source.
DateMetadataKey. The metadata key to retrieve the date when the data source was created or modified.
DiscNumberMetadataKey. The metadata key to retrieve the numberic string that describes which part of a set the audio data source comes from.
DurationMetadataKey. The metadata key to retrieve the playback duration of the data source.
GenreMetadataKey. The metadata key to retrieve the content type or genre of the data source.
HasAudioMetadataKey. If this key exists the media contains audio content.
HasVideoMetadataKey. If this key exists the media contains video content.
LocationMetadataKey. This key retrieves the location information, if available. The location should be specified according to ISO-6709 standard, under a mp4/3gp box "@xyz". Location with longitude of -90 degrees and latitude of 180 degrees will be retrieved as "-90.0000+180.0000", for instance.
MimetypeMetadataKey. The metadata key to retrieve the mime type of the data source. Some example mime types include: "video/mp4", "audio/mp4", "audio/amr-wb", etc.
NumTracksMetadataKey. 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.
TitleMetadataKey. The metadata key to retrieve the data source title.
VideoHeightMetadataKey. If the media contains video, this key retrieves its height.
VideoRotationMetadataKey. This key retrieves the video rotation angle in degrees, if available. The video rotation angle may be 0, 90, 180, or 270 degrees.
VideoWidthMetadataKey. If the media contains video, this key retrieves its width.
WriterMetadataKey. The metadata key to retrieve the information of the writer (such as lyricist) of the data source.
YearMetadataKey. The metadata key to retrieve the year when the data source was created or modified.