startDownload method

Future<void> startDownload(
  1. PlayerResource playerResource,
  2. int trackIndex
)

Start downloading the video at specified quality

Implementation

Future<void> startDownload(
  PlayerResource playerResource,
  int trackIndex,
) async {
  _checkInitialized();
  await _playerMethodManager.startDownload(playerResource, trackIndex);
}