getAudioTracks method

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

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

Implementation

Future<Map<int, String>> getAudioTracks() async {
  _throwIfNotInitialized('getAudioTracks');

  return vlcPlayerPlatform.getAudioTracks(_viewId);
}