IosAudioOptions constructor
const
IosAudioOptions({
- IosAudioSessionCategory category = IosAudioSessionCategory.playAndRecord,
- IosAudioSessionMode mode = IosAudioSessionMode.defaultMode,
- bool allowBluetooth = true,
- bool allowAirPlay = true,
- bool mixWithOthers = false,
- bool defaultToSpeaker = true,
- double? preferredSampleRate,
- 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,
});