getSpuTracks method

Future<Map<int, String>> getSpuTracks()

Return all subtitle tracks as array of <Int, String> The key parameter is the index of subtitle which is used for changing subtitle and the value is the display name of subtitle

Implementation

Future<Map<int, String>> getSpuTracks() async {
  _throwIfNotInitialized('getSpuTracks');
  return await vlcPlayerPlatform.getSpuTracks(_viewId);
}