-
Notifications
You must be signed in to change notification settings - Fork 2
AudioOptions
Lejla Solak edited this page Feb 3, 2026
·
7 revisions
init(_ audioQualityMode: AudioQualityMode, _ detectTalkingWhileMuted: Bool)audioQualityMode: AudioQualityModedetectTalkingWhileMuted: Bool
Creates an instance of the AudioOptions.
-
audioQualityMode:AudioQualityMode- Optional enum value representing the audio quality mode. Default value isauto. -
detectTalkingWhileMuted:Bool- Optional boolean value representing whether microphone activity will be monitored while muted in order to detect talking. Default value isfalse.
-
AudioOptions- Instance of theAudioOptions.
let audioOptions = AudioOptions(.lowData, true)Getter for the audioQualityMode field.
none
-
AudioQualityMode- Enum value of theaudioQualityModefield that represents how data consumption affects audio quality.
let audioQualityMode = audioOptions.audioQualityModeGetter for the detectTalkingWhileMuted field.
none
-
Bool- Value of thedetectTalkingWhileMutedfield that represents whether microphone activity will be monitored while muted in order to detect talking.
let detectTalkingWhileMuted = audioOptions.detectTalkingWhileMuted