Function: addCallAnsweredListener()
ts
function addCallAnsweredListener(listener): EventSubscription;Defined in: Calls.ts:505
Subscribes to call answered events.
Fired when the user answers an incoming call (either from the system UI or via answerCall). You should begin connecting your media.
Parameters
| Parameter | Type | Description |
|---|---|---|
listener | (event) => void | Callback invoked when a call is answered. |
Returns
EventSubscription
A subscription that can be removed by calling .remove().
See
- answerCall — the programmatic equivalent (rarely needed; usually the OS UI triggers answering).
- fulfillIncomingCallConnected — call after media setup completes.
- failIncomingCallConnected — call if media setup fails.