detect

View as Markdown

detect

Generic method. Please see amd, detecFax, and detectDigit.

Parameters

params
objectRequired

Object containing the parameters for detection.

type
"fax" | "machine" | "digit" | "beep"Required

The type of detection to perform:

Returns

Promise<CallDetect>

A promise that resolves to a CallDetect object that you can use to view the current state and results of the detect session.