Android Guides | Samples

Android.Media.Option Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaMetadataRetriever.GetFrameAtTime member.

Syntax

public enum Option

Remarks

Members

Member NameDescription
ClosestThis option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a frame (not necessarily a key frame) associated with a data source that is located closest to or at the given time.
ClosestSyncThis option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.
NextSyncThis option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located right after or at the given time.
PreviousSyncThis option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located right before or at the given time.

Requirements

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

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

See Also: Enum

Public Fields

ClosestOption. This option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a frame (not necessarily a key frame) associated with a data source that is located closest to or at the given time.
ClosestSyncOption. This option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.
NextSyncOption. This option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located right after or at the given time.
PreviousSyncOption. This option is used with MediaMetadataRetriever.GetFrameAtTime(Int64,Int32) to retrieve a sync (or key) frame associated with a data source that is located right before or at the given time.