MediaParser.SeekMap.GetSeekPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetSeekPoints(Int64) |
Obtains SeekPoint seek points for the specified seek time in microseconds. |
| GetSeekPoints(Int64, Int32) |
Obtains SeekPoint seek points for the specified seek time in microseconds, using cue points from a specific track. |
GetSeekPoints(Int64)
Obtains SeekPoint seek points 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 seek points.
- 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
GetSeekPoints(Int64, Int32)
Obtains SeekPoint seek points for the specified seek time in microseconds, using cue points from a specific track.
[Android.Runtime.Register("getSeekPoints", "(JI)Landroid/util/Pair;", "", ApiSince=37)]
public Android.Util.Pair GetSeekPoints(long timeMicros, int trackIndex);
[<Android.Runtime.Register("getSeekPoints", "(JI)Landroid/util/Pair;", "", ApiSince=37)>]
member this.GetSeekPoints : int64 * int -> Android.Util.Pair
Parameters
- timeMicros
- Int64
A seek time in microseconds.
- trackIndex
- Int32
The index of the track to use for finding seek points.
Returns
The corresponding SeekPoint seek points.
- Attributes