Android.Media.MediaMetadataRetriever.GetFrameAtTime Method
Call this method after setDataSource().

Syntax

[Android.Runtime.Register("getFrameAtTime", "(J)Landroid/graphics/Bitmap;", "GetGetFrameAtTime_JHandler")]
public virtual Android.Graphics.Bitmap GetFrameAtTime (long p0)

See Also

MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option)

Parameters

timeUs
The time position where the frame will be retrieved. When retrieving the frame at the given time position, there is no guarentee that the data source has a frame located at the position. When this happens, a frame nearby will be returned. If timeUs is negative, time position and option will ignored, and any frame that the implementation considers as representative may be returned.

Returns

Documentation for this section has not yet been entered.

Remarks

Call this method after setDataSource(). This method finds a representative frame close to the given time position if possible, and returns it as a bitmap. This is useful for generating a thumbnail for an input data source. Call this method if one does not care how the frame is found as long as it is close to the given time; otherwise, please call MediaMetadataRetriever.GetFrameAtTime(long, Android.Media.Option).

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 10