answerCall

abstract suspend fun answerCall(callId: CallId)

Answers the call with the specified callId. The call should be in the ringing state.

The state of the call will be immediately changed to CallState.ANSWERING after which it will either go to CallState.ACTIVE or CallState.DISCONNECTED. This will be reflected through updates to the currentCalls property.

Calling this with an unknown callId or a call that is not in the CallState.RINGING state will be ignored.

Parameters

callId

ID of one of the incoming calls from the currentCalls property.