Rate this page:

AnsweringMachineDetector

Answering machine or voicemail detector class.

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>

Starts answering machine or voicemail recognition session.

Returns

removeEventListener

Copy URL
removeEventListener(event: 

Events

,
callback:

Function

):

void

Removes a handler for the specified AMD.Events event.

Parameters

Returns

  • type:

    void

Props

call

Copy URL
call: 

Call

model

Copy URL
model: 

Model

timeout

Copy URL
timeout: 

number

|

undefined