Sdílet prostřednictvím


SubtitleData.TrackIndex Property

Definition

Returns the index of the media player track which contains this subtitle data.

public int TrackIndex { [Android.Runtime.Register("getTrackIndex", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getTrackIndex", "()I", "", ApiSince=28)>]
member this.TrackIndex : int

Property Value

an index in the array returned by MediaPlayer#getTrackInfo().

Attributes

Remarks

Returns the index of the media player track which contains this subtitle data.

Java documentation for android.media.SubtitleData.getTrackIndex().

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