MediaParser.SeekMap.TrackHasSeekPoints(Int32) 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.
Returns whether the given track has its own SeekPoint seek points.
[Android.Runtime.Register("trackHasSeekPoints", "(I)Z", "", ApiSince=37)]
public bool TrackHasSeekPoints(int trackIndex);
[<Android.Runtime.Register("trackHasSeekPoints", "(I)Z", "", ApiSince=37)>]
member this.TrackHasSeekPoints : int -> bool
Parameters
- trackIndex
- Int32
The index of the track.
Returns
Whether seeking is supported for the track.
- Attributes
Remarks
Returns whether the given track has its own seek points.
The trackIndex is the same index passed to OutputConsumer.onTrackDataFound(int,TrackData).
This method can return false for all tracks even when isSeekable() returns true. In such cases, seeking is supported for the container, but not on a per-track basis. When this method returns false for a given track, calling getSeekPoints(long, int) for that track will fall back to using the container's seek points.
Android reference for android.media.MediaParser.SeekMap.trackHasSeekPoints.
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.