MediaMetadataRetriever
MediaMetadataRetriever
Class
Definition
MediaMetadataRetriever class provides a unified interface for retrieving frame and meta data from an input media file.
[Android.Runtime.Register("android/media/MediaMetadataRetriever", ApiSince=10, DoNotGenerateAcw=true)]
public class MediaMetadataRetriever : Java.Lang.Object
type MediaMetadataRetriever = class
inherit Object
- Inheritance
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the
Constructors
MediaMetadataRetriever() MediaMetadataRetriever() | |
MediaMetadataRetriever(IntPtr, JniHandleOwnership) MediaMetadataRetriever(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
MetadataKeyAlbum MetadataKeyAlbum |
The metadata key to retrieve the information about the album title of the data source. |
MetadataKeyAlbumartist MetadataKeyAlbumartist |
The metadata key to retrieve the information about the performers or artist associated with the data source. |
MetadataKeyArtist MetadataKeyArtist |
The metadata key to retrieve the information about the artist of the data source. |
MetadataKeyAuthor MetadataKeyAuthor |
The metadata key to retrieve the information about the author of the data source. |
MetadataKeyBitrate MetadataKeyBitrate |
This key retrieves the average bitrate (in bits/sec), if available. |
MetadataKeyCaptureFramerate MetadataKeyCaptureFramerate | |
MetadataKeyCdTrackNumber MetadataKeyCdTrackNumber |
The metadata key to retrieve the numeric string describing the order of the audio data source on its original recording. |
MetadataKeyCompilation MetadataKeyCompilation |
The metadata key to retrieve the music album compilation status. |
MetadataKeyComposer MetadataKeyComposer |
The metadata key to retrieve the information about the composer of the data source. |
MetadataKeyDate MetadataKeyDate |
The metadata key to retrieve the date when the data source was created or modified. |
MetadataKeyDiscNumber MetadataKeyDiscNumber |
The metadata key to retrieve the numberic string that describes which part of a set the audio data source comes from. |
MetadataKeyDuration MetadataKeyDuration |
The metadata key to retrieve the playback duration of the data source. |
MetadataKeyGenre MetadataKeyGenre |
The metadata key to retrieve the content type or genre of the data source. |
MetadataKeyHasAudio MetadataKeyHasAudio |
If this key exists the media contains audio content. |
MetadataKeyHasVideo MetadataKeyHasVideo |
If this key exists the media contains video content. |
MetadataKeyLocation MetadataKeyLocation |
This key retrieves the location information, if available. |
MetadataKeyMimetype MetadataKeyMimetype |
The metadata key to retrieve the mime type of the data source. |
MetadataKeyNumTracks MetadataKeyNumTracks |
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. |
MetadataKeyTitle MetadataKeyTitle |
The metadata key to retrieve the data source title. |
MetadataKeyVideoHeight MetadataKeyVideoHeight |
If the media contains video, this key retrieves its height. |
MetadataKeyVideoRotation MetadataKeyVideoRotation |
This key retrieves the video rotation angle in degrees, if available. |
MetadataKeyVideoWidth MetadataKeyVideoWidth |
If the media contains video, this key retrieves its width. |
MetadataKeyWriter MetadataKeyWriter |
The metadata key to retrieve the information of the writer (such as lyricist) of the data source. |
MetadataKeyYear MetadataKeyYear |
The metadata key to retrieve the year when the data source was created or modified. |
OptionClosest OptionClosest |
This option is used with GetFrameAtTime(Int64, 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. |
OptionClosestSync OptionClosestSync |
This option is used with GetFrameAtTime(Int64, 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. |
OptionNextSync OptionNextSync |
This option is used with GetFrameAtTime(Int64, Option) to retrieve a sync (or key) frame associated with a data source that is located right after or at the given time. |
OptionPreviousSync OptionPreviousSync |
This option is used with GetFrameAtTime(Int64, Option) to retrieve a sync (or key) frame associated with a data source that is located right before or at the given time. |
Properties
Class Class |
Returns the unique instance of Class that represents this object's class. (Inherited from Object) |
FrameAtTime FrameAtTime |
Call this method after setDataSource(). |
Handle Handle |
The handle to the underlying Android instance. (Inherited from Object) |
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy | Inherited from Object |
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle | Inherited from Object |
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation | Inherited from Object |
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState | Inherited from Object |
JniIdentityHashCode JniIdentityHashCode | Inherited from Object |
JniPeerMembers JniPeerMembers | |
PeerReference PeerReference | Inherited from Object |
ThresholdClass ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Methods
Explicit Interface Implementations
Extension Methods
JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable) |