-
Notifications
You must be signed in to change notification settings - Fork 2
MachineDetectionOptions
Lejla Solak edited this page Feb 9, 2026
·
1 revision
Creates an instance of MachineDetectionOptions.
-
enabled:Bool-trueif machine detection should be enabled for the call. Disabled by default. -
detectionTime:Double- Duration in seconds for which machine detection will run. Default value is3.7seconds. Shorter detection times (as little as 1 second) help identify voicemail pickup quickly, while longer detection times (up to 5 seconds) improve the accuracy of distinguishing between humans and machines.
-
MachineDetectionOptions- Instance of theMachineDetectionOptions.
let machineDetectionOptions = MachineDetectionOptions(enabled: true, detectionTime: 5)Getter for the enabled field.
-
Bool- Value of theenabledfield indicating whether machine detection is enabled for the call.
let machineDetectionOptions = MachineDetectionOptions(enabled: true)
let enabled = machineDetectionOptions.enabledGetter for the detectionTime field.
-
Double- Value of thedetectionTimefield indicating the duration in seconds for which machine detection will run.
let machineDetectionOptions = MachineDetectionOptions(enabled: true, detectionTime: 5)
let detectionTime = machineDetectionOptions.detectionTime