Share via


TvView.GetTracks(TvTrackInfoType) Method

Definition

Returns the list of tracks.

[Android.Runtime.Register("getTracks", "(I)Ljava/util/List;", "GetGetTracks_IHandler")]
public virtual System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo>? GetTracks (Android.Media.TV.TvTrackInfoType type);
[<Android.Runtime.Register("getTracks", "(I)Ljava/util/List;", "GetGetTracks_IHandler")>]
abstract member GetTracks : Android.Media.TV.TvTrackInfoType -> System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo>
override this.GetTracks : Android.Media.TV.TvTrackInfoType -> System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo>

Parameters

type
TvTrackInfoType

The type of the tracks. The type can be TvTrackInfo#TYPE_AUDIO, TvTrackInfo#TYPE_VIDEO or TvTrackInfo#TYPE_SUBTITLE.

Returns

Attributes

Remarks

Returns the list of tracks. Returns null if the information is not available.

Java documentation for android.media.tv.TvView.getTracks(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

See also