MediaExtractor.SelectTrack(Int32) Method

Definition

Subsequent calls to #readSampleData, #getSampleTrackIndex and #getSampleTime only retrieve information for the subset of tracks selected.

[Android.Runtime.Register("selectTrack", "(I)V", "")]
public void SelectTrack (int index);
[<Android.Runtime.Register("selectTrack", "(I)V", "")>]
member this.SelectTrack : int -> unit

Parameters

index
Int32
Attributes

Remarks

Subsequent calls to #readSampleData, #getSampleTrackIndex and #getSampleTime only retrieve information for the subset of tracks selected. Selecting the same track multiple times has no effect, the track is only selected once.

Java documentation for android.media.MediaExtractor.selectTrack(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