-
Notifications
You must be signed in to change notification settings - Fork 2
MachineDetectionFinishedEvent
Lejla Solak edited this page Feb 9, 2026
·
1 revision
Read-only property that represents the result of the machine detection, indicating whether a human or a machine answered the call.
-
String- Value of thedetectionResultfield indicating the detection result.
func onMachineDetectionFinished(_ machineDetectionFinishedEvent: MachineDetectionFinishedEvent) {
os_log("Machine detection result: %@.", machineDetectionFinishedEvent.detectionResult)
}Read-only property that represents a map of confidence scores for each detection class.
-
ConfidenceRating- A map containing confidence scores for each detection class.
func onMachineDetectionFinished(_ machineDetectionFinishedEvent: MachineDetectionFinishedEvent) {
let confidenceRating = machineDetectionFinishedEvent.confidenceRating
for (key, value) in confidenceRating {
os_log("Detection class: %@, confidence: %f", key, value)
}
}