Function: addSetHeldActionListener()
ts
function addSetHeldActionListener(listener): EventSubscription;Defined in: Calls.ts:786
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
| Parameter | Type | Description |
|---|---|---|
listener | (event) => void | Callback 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.