activeSubtitleTracks property

List<int> get activeSubtitleTracks

Active subtitle tracks set by user

Implementation

List<int> get activeSubtitleTracks => _activeST;
set activeSubtitleTracks (List<int> value)

Set active subtitle tracks. Other tracks will be disabled. The tracks can be from media, or an external video source set by setMedia with MediaType.subtitle. https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks

Implementation

set activeSubtitleTracks(List<int> value) =>
    setActiveTracks(MediaType.subtitle, value);