Skip to content

Function: addSetHeldActionListener() ​

ts
function addSetHeldActionListener(listener): EventSubscription;

Defined in: Calls.ts:787

Subscribes to set held action events.

Fired when the system requests to set the hold state. Apply the change to your media connection when you receive this event.

Parameters ​

ParameterTypeDescription
listener(event) => voidCallback invoked when set held action is requested.

Returns ​

EventSubscription

A subscription that can be removed by calling .remove().

See ​

setHeld — for the app-initiated direction.