detect
detect
- detect(
params):Promise<CallDetect>
Generic method. Please see amd, detecFax, and detectDigit.
Parameters
params
Object containing the parameters for detection.
type
The type of detection to perform:
"digit": see detectDigit"fax": see detectFax"machine": see detectAnsweringMachine"beep": see detectAnsweringMachine
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.