setTrackSelection method

Future<bool> setTrackSelection(
  1. Track track
)

Sets the selected tracks.

Implementation

Future<bool> setTrackSelection(Track track) async {
  if (!value.isInitialized || _isDisposed) {
    return false;
  }
  return _videoPlayerPlatform.setTrackSelection(_playerId, track);
}