accept

open override fun accept(call: Call, onSuccess: suspend (Call) -> Unit?, onError: suspend (Exception) -> Unit?)

Accept an incoming call.

Parameters

call

the call to accept.

onSuccess

invoked when the Call.join has finished.

onError

invoked when operation failed.