Function: answerCall()
ts
function answerCall(id): Promise<void>;Defined in: Calls.ts:486
Answers an incoming call.
Use this when the user taps an answer button in your app's custom UI. The system will emit a CallAnsweredEvent to confirm the answer.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The call session ID to answer. |
Returns
Promise<void>
See
- addCallAnsweredListener — react to user-initiated answers from the system UI; most apps listen here rather than calling this directly.
- fulfillIncomingCallConnected — call after media is established.
- failIncomingCallConnected — call if media setup fails.