Språk

MediaExtractor.SampleTrackIndex Property

Definition

Returns the track index the current sample originates from (or -1 if no more samples are available)

public int SampleTrackIndex { [Android.Runtime.Register("getSampleTrackIndex", "()I", "")] get; }
[<get: Android.Runtime.Register("getSampleTrackIndex", "()I", "")>]
member this.SampleTrackIndex : int

Property Value

The zero-based index of the track containing the current sample, or -1 at the end of the stream.

Attributes

Remarks

Returns the track index the current sample originates from (or -1 if no more samples are available)

Java documentation for android.media.MediaExtractor.getSampleTrackIndex().

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