Language

MediaExtractor.SeekTo(Int64, MediaExtractorSeekTo) Method

Definition

All selected tracks seek near the requested time according to the specified mode.

[Android.Runtime.Register("seekTo", "(JI)V", "")]
public void SeekTo(long timeUs, Android.Media.MediaExtractorSeekTo mode);
[<Android.Runtime.Register("seekTo", "(JI)V", "")>]
member this.SeekTo : int64 * Android.Media.MediaExtractorSeekTo -> unit

Parameters

timeUs
Int64
mode
MediaExtractorSeekTo

Value is one of the following: SEEK_TO_PREVIOUS_SYNC SEEK_TO_NEXT_SYNC SEEK_TO_CLOSEST_SYNC

Attributes

Remarks

All selected tracks seek near the requested time according to the specified mode.

Java documentation for android.media.MediaExtractor.seekTo(long, int).

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