VoiceClientApiEvents

Voice.VoiceClientApiEvents

List of events for Voice.Call.

Methods

call.received

call.received(call): void

A call has been received. You can use the provided Call object to answer.

Parameters

NameType
callCall

Returns

void


playback.ended

playback.ended(playback): void

A playback ended.

Parameters

NameType
playbackCallPlayback

Returns

void


playback.started

playback.started(playback): void

A playback has started.

Parameters

NameType
playbackCallPlayback

Returns

void


playback.updated

playback.updated(playback): void

The state of a playback changed.

Parameters

NameType
playbackCallPlayback

Returns

void


prompt.ended

prompt.ended(prompt): void

A prompt has ended.

Parameters

NameType
promptCallPrompt

Returns

void


prompt.failed

prompt.failed(prompt): void

A prompt has failed.

Parameters

NameType
promptCallPrompt

Returns

void


prompt.started

prompt.started(prompt): void

A prompt started.

Parameters

NameType
promptCallPrompt

Returns

void


prompt.updated

prompt.updated(prompt): void

The state of a prompt changed.

Parameters

NameType
promptCallPrompt

Returns

void


recording.ended

recording.ended(recording): void

A recording ended.

Parameters

NameType
recordingCallRecording

Returns

void


recording.failed

recording.failed(recording): void

A recording failed.

Parameters

NameType
recordingCallRecording

Returns

void


recording.started

recording.started(recording): void

A recording started.

Parameters

NameType
recordingCallRecording

Returns

void


recording.updated

recording.updated(recording): void

The state of a recording changed.

Parameters

NameType
recordingCallRecording

Returns

void


tap.ended

tap.ended(tap): void

A tap ended.

Parameters

NameType
tapCallTap

Returns

void


tap.started

tap.started(tap): void

A tap started.

Parameters

NameType
tapCallTap

Returns

void