IosAudioOptions constructor

const IosAudioOptions({
  1. IosAudioSessionCategory category = IosAudioSessionCategory.playAndRecord,
  2. IosAudioSessionMode mode = IosAudioSessionMode.defaultMode,
  3. bool allowBluetooth = true,
  4. bool allowAirPlay = true,
  5. bool mixWithOthers = false,
  6. bool defaultToSpeaker = true,
  7. double? preferredSampleRate,
  8. double? preferredBufferDuration,
})

Creates iOS audio customization options.

Implementation

const IosAudioOptions({
  this.category = IosAudioSessionCategory.playAndRecord,
  this.mode = IosAudioSessionMode.defaultMode,
  this.allowBluetooth = true,
  this.allowAirPlay = true,
  this.mixWithOthers = false,
  this.defaultToSpeaker = true,
  this.preferredSampleRate,
  this.preferredBufferDuration,
});