Skip to content

AudioOptions

Lejla Solak edited this page Feb 3, 2026 · 7 revisions



init(audioQualityMode, detectTalkingWhileMuted)

Description

Creates an instance of the AudioOptions.

Arguments

  • audioQualityMode: AudioQualityMode - Optional enum value representing the audio quality mode. Default value is auto.
  • detectTalkingWhileMuted: Bool - Optional boolean value representing whether microphone activity will be monitored while muted in order to detect talking. Default value is false.

Returns

Example

let audioOptions = AudioOptions(.lowData, true)



audioQualityMode

Description

Getter for the audioQualityMode field.

Arguments

  • none

Returns

  • AudioQualityMode - Enum value of the audioQualityMode field that represents how data consumption affects audio quality.

Example

let audioQualityMode = audioOptions.audioQualityMode



detectTalkingWhileMuted

Description

Getter for the detectTalkingWhileMuted field.

Arguments

  • none

Returns

  • Bool - Value of the detectTalkingWhileMuted field that represents whether microphone activity will be monitored while muted in order to detect talking.

Example

let detectTalkingWhileMuted = audioOptions.detectTalkingWhileMuted

Tutorials

Migration guides

Reference documentation

Clone this wiki locally