-
Notifications
You must be signed in to change notification settings - Fork 3
CallOptions
Eldar Babić edited this page Feb 10, 2025
·
5 revisions
audio: Bool
audioOptions: AudioOptions
recordingOptions: RecordingOptions
customData: CustomData
autoReconnect: Bool
Getter for the audio
field.
none
-
Bool
- Value of theaudio
field indicating whether the call should include local audio.
let phoneCallOptions = PhoneCallOptions(audio: false)
let audio = phoneCallOptions.audio
Getter for the audioOptions
field.
none
-
AudioOptions
- Value of theaudioOptions
field indicating what configuration should be used for the audio.
let phoneCallOptions = PhoneCallOptions(audioOptions: AudioOptions(.lowData))
let audioOptions = phoneCallOptions.audioOptions
Getter for the recordingOptions
field.
none
-
RecordingOptions
- Value of therecordingOptions
field indicating what recording configuration should be used for the call.
let phoneCallOptions = PhoneCallOptions(recordingOptions: RecordingOptions(.audio))
let recordingOptions = phoneCallOptions.recordingOptions
Getter for the customData
field.
none
-
CustomData
- Value of thecustomData
field containing custom additional information defined as an object of key-valueString
pairs.
let phoneCallOptions = PhoneCallOptions(customData: ["city": "New York"])
let customData = phoneCallOptions.customData
Getter for the autoReconnect
field.
none
-
Bool
- Value of theautoReconnect
field indicating whether the call should automatically reconnect.
let phoneCallOptions = PhoneCallOptions(autoReconnect: true)
let autoReconnect = phoneCallOptions.autoReconnect