-
Notifications
You must be signed in to change notification settings - Fork 2
CallOptions
Adnan Elezović edited this page Feb 7, 2025
·
9 revisions
audio(): booleanaudioOptions(): AudioOptionsrecordingOptions(): RecordingOptionscustomData(): CustomDataautoReconnect(): boolean
Getter for the audio field.
none
-
boolean- Value of theaudiofield indicating whether the call should include local audio.
let phoneCallOptionsBuilder = PhoneCallOptions.builder().setAudio(false).build();
let audio = phoneCallOptionsBuilder.audio;Getter for the audioOptions field.
none
-
AudioOptions- Value of theaudioOptionsfield indicating what configuration should be used for the audio.
let phoneCallOptionsBuilder = PhoneCallOptions.builder()
.setAudioOptions(AudioOptions.builder().lowDataMode(true).build())
.build();
let audioOptions = phoneCallOptionsBuilder.audioOptions;Getter for the recordingOptions field.
none
-
RecordingOptions- Value of therecordingOptionsfield representing the recording configuration to be used for the call.
let phoneCallOptionsBuilder = PhoneCallOptions.builder()
.setRecordingOptions(new PhoneCallRecordingOptions('AUDIO'))
.build();
let recordingOptions = phoneCallOptionsBuilder.recordingOptions;Getter for the customData field.
none
-
CustomData- Value of thecustomDatafield that is defined as an object of key-valuestringpairs.
let phoneCallOptionsBuilder = PhoneCallOptions.builder().setCustomData({'city': 'New York'}).build();
let customData = phoneCallOptionsBuilder.customData;Getter for the autoReconnect field.
none
-
boolean- Value of theautoReconnectfield indicating whether reconnect is enabled for this call.
let phoneCallOptionsBuilder = PhoneCallOptions.builder().setAutoReconnect(true).build();
let isReconnectEnabled = phoneCallOptionsBuilder.autoReconnect;