Share via


MediaMetadataRetriever.OptionClosestSync Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.Option enum directly instead of this field.

This option is used with #getFrameAtTime(long, int) to retrieve a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.

[Android.Runtime.Register("OPTION_CLOSEST_SYNC")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.Option enum directly instead of this field.", true)]
public const Android.Media.Option OptionClosestSync = 2;
[<Android.Runtime.Register("OPTION_CLOSEST_SYNC")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.Option enum directly instead of this field.", true)>]
val mutable OptionClosestSync : Android.Media.Option

Field Value

Value = 2
Attributes

Remarks

This option is used with #getFrameAtTime(long, int) to retrieve a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.

Java documentation for android.media.MediaMetadataRetriever.OPTION_CLOSEST_SYNC.

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

See also

  • <xref:Android.Media.MediaMetadataRetriever.GetFrameAtTime(System.Int64%2c+Android.Media.Option)>