setPlaybackMode method

void setPlaybackMode(
  1. PlaybackMode playbackMode
)

Set the playback mode for the player.

Implementation

void setPlaybackMode(PlaybackMode playbackMode) {
  _preferences.put('player_playback_mode', playbackMode.index);
}