setSelectedTracks

open fun setSelectedTracks(tracks: Array<Track>)

Sets a fixed (non-adaptive) selection of tracks. The provided array must contain Track objects returned by the player, and also must contain only single Track corresponding to a Track.TYPE_* constant. Only the first track in the array corresponding to a Track.TYPE_* constant will be acknowledged.

Parameters

tracks

the tracks to select