setSubtitleTracks method

void setSubtitleTracks(
  1. List<int> value
)

Set active subtitle tracks. Other tracks will be disabled. The tracks can be from data source from VideoPlayerController constructor, or an external subtitle data source via setExternalSubtitle https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks

Implementation

void setSubtitleTracks(List<int> value) {
  _platform.setSubtitleTracks(textureId, value);
}