Rate this page:

AnsweringMachineDetector

Answering machine or voicemail detector class.

Constructors

constructor
Copy URL

Methods

addEventListener
Copy URL
addEventListener(event: 

Events

,
callback:

Function

):

void

Adds a handler for the specified AMD.Events. Use only functions as handlers; anything except a function leads to an error and scenario termination when a handler is called.

Parameters

Returns

  • type:

    void

detect
Copy URL
detect(): 

Promise<Events.DetectionComplete | Events.DetectionError>

Starts answering machine or voicemail recognition session.

id
Copy URL
id(): 

string

Returns the Answering machine detector's id.

Returns

  • type:

    string

removeEventListener
Copy URL
removeEventListener(event: 

Events

,
callback:

Function

):

void

Removes a handler for the specified AMD.Events event.

Parameters

Returns

  • type:

    void

Props

call
Optional
Copy URL
call: 

Call

model
Copy URL
model: 

Model

timeout
Optional
Copy URL
timeout: 

number

Rate this page: