setSpuTrack method
Change active subtitle index (set -1 to disable subtitle).
spuTrackNumber
- the subtitle index obtained from getSpuTracks()
Implementation
Future<void> setSpuTrack(int spuTrackNumber) async {
_throwIfNotInitialized('setSpuTrack');
return vlcPlayerPlatform.setSpuTrack(_viewId, spuTrackNumber);
}