MediaParser.SeekMap.GetSeekPoints(Int64) Method

Definition

Obtains SeekPoint SeekPoints for the specified seek time in microseconds.

[Android.Runtime.Register("getSeekPoints", "(J)Landroid/util/Pair;", "", ApiSince=30)]
public Android.Util.Pair GetSeekPoints (long timeMicros);
[<Android.Runtime.Register("getSeekPoints", "(J)Landroid/util/Pair;", "", ApiSince=30)>]
member this.GetSeekPoints : int64 -> Android.Util.Pair

Parameters

timeMicros
Int64

A seek time in microseconds.

Returns

The corresponding SeekPoint SeekPoints.

Attributes

Remarks

Obtains SeekPoint SeekPoints for the specified seek time in microseconds.

getSeekPoints(timeMicros).first contains the latest seek point for samples with timestamp equal to or smaller than timeMicros.

getSeekPoints(timeMicros).second contains the earliest seek point for samples with timestamp equal to or greater than timeMicros. If a seek point exists for timeMicros, the returned pair will contain the same SeekPoint twice.

Java documentation for android.media.MediaParser.SeekMap.getSeekPoints(long).

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