Android.Media.MediaMetadataRetriever Members

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

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
MetadataKeyAlbumMetadataKey (1). The metadata key to retrieve the information about the album title of the data source.
const
MetadataKeyAlbumartistMetadataKey (13). The metadata key to retrieve the information about the performers or artist associated with the data source.
const
MetadataKeyArtistMetadataKey (2). The metadata key to retrieve the information about the artist of the data source.
const
MetadataKeyAuthorMetadataKey (3). The metadata key to retrieve the information about the author of the data source.
const
MetadataKeyBitrateMetadataKey (20). This key retrieves the average bitrate (in bits/sec), if available.
const
MetadataKeyCdTrackNumberMetadataKey (0). The metadata key to retrieve the numeric string describing the order of the audio data source on its original recording.
const
MetadataKeyCompilationMetadataKey (15). The metadata key to retrieve the music album compilation status.
const
MetadataKeyComposerMetadataKey (4). The metadata key to retrieve the information about the composer of the data source.
const
MetadataKeyDateMetadataKey (5). The metadata key to retrieve the date when the data source was created or modified.
const
MetadataKeyDiscNumberMetadataKey (14). The metadata key to retrieve the numberic string that describes which part of a set the audio data source comes from.
const
MetadataKeyDurationMetadataKey (9). The metadata key to retrieve the playback duration of the data source.
const
MetadataKeyGenreMetadataKey (6). The metadata key to retrieve the content type or genre of the data source.
const
MetadataKeyHasAudioMetadataKey (16). If this key exists the media contains audio content.
const
MetadataKeyHasVideoMetadataKey (17). If this key exists the media contains video content.
const
MetadataKeyLocationMetadataKey (23). This key retrieves the location information, if available.
const
MetadataKeyMimetypeMetadataKey (12). The metadata key to retrieve the mime type of the data source.
const
MetadataKeyNumTracksMetadataKey (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.
const
MetadataKeyTitleMetadataKey (7). The metadata key to retrieve the data source title.
const
MetadataKeyVideoHeightMetadataKey (19). If the media contains video, this key retrieves its height.
const
MetadataKeyVideoRotationMetadataKey (24). This key retrieves the video rotation angle in degrees, if available.
const
MetadataKeyVideoWidthMetadataKey (18). If the media contains video, this key retrieves its width.
const
MetadataKeyWriterMetadataKey (11). The metadata key to retrieve the information of the writer (such as lyricist) of the data source.
const
MetadataKeyYearMetadataKey (8). The metadata key to retrieve the year when the data source was created or modified.
const
OptionClosestOption (3). This option is used with MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option) to retrieve a frame (not necessarily a key frame) associated with a data source that is located closest to or at the given time.
const
OptionClosestSyncOption (2). This option is used with MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option) to retrieve a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.
const
OptionNextSyncOption (1). This option is used with MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option) to retrieve a sync (or key) frame associated with a data source that is located right after or at the given time.
const
OptionPreviousSyncOption (0). This option is used with MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option) to retrieve a sync (or key) frame associated with a data source that is located right before or at the given time.

Public Properties

[read-only]
FrameAtTimeAndroid.Graphics.Bitmap. Call this method after setDataSource().

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ExtractMetadata(MetadataKey) : string
Call this method after setDataSource().
ExtractMetadata(int) : string
Documentation for this section has not yet been entered.
GetEmbeddedPicture() : byte[]
Call this method after setDataSource().
GetFrameAtTime(long) : Android.Graphics.Bitmap
Call this method after setDataSource().
GetFrameAtTime(long, Option) : Android.Graphics.Bitmap
Call this method after setDataSource().
GetFrameAtTime(long, int) : Android.Graphics.Bitmap
Documentation for this section has not yet been entered.
Release()
Call it when one is done with the object.
SetDataSource(Java.IO.FileDescriptor)
Sets the data source (FileDescriptor) to use.
SetDataSource(string)
Sets the data source (file pathname) to use.
SetDataSource(Android.Content.Context, Android.Net.Uri)
Sets the data source as a content Uri.
SetDataSource(string, IDictionary<string, string>)
Documentation for this section has not yet been entered.
SetDataSource(Java.IO.FileDescriptor, long, long)
Sets the data source (FileDescriptor) to use.
SetDataSourceAsync(Java.IO.FileDescriptor) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetDataSourceAsync(string) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetDataSourceAsync(Android.Content.Context, Android.Net.Uri) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetDataSourceAsync(string, IDictionary<string, string>) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetDataSourceAsync(Java.IO.FileDescriptor, long, long) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.