-
Notifications
You must be signed in to change notification settings - Fork 2
PhoneCallOptions
Lejla Solak edited this page Feb 9, 2026
·
3 revisions
extends CallOptions
static builder(): PhoneCallOptionsBuilderfrom(): stringmachineDetectionOptions(): MachineDetectionOptions
Creates a builder instance used to build a new instance of the PhoneCallOptions.
none
-
PhoneCallOptionsBuilder- Instance of the builder.
let phoneCallOptionsBuilder = PhoneCallOptions.builder();Getter for the from field.
none
-
string- Value of thefromfield indicating what phone number should be used when making the call.
let phoneCallOptions = PhoneCallOptions.builder().setFrom('33712345678').build();
let from = phoneCallOptions.from;Getter for the machineDetectionOptions field.
none
-
MachineDetectionOptions- Value of themachineDetectionOptionsfield containing configuration for machine detection during the call.
let machineDetectionOptions = MachineDetectionOptions.builder().setEnabled(true).build();
let phoneCallOptions = PhoneCallOptions.builder().setMachineDetectionOptions(machineDetectionOptions).build();
let options = phoneCallOptions.machineDetectionOptions;