acceptIncomingCall

open fun acceptIncomingCall(context: Context, accountID: String, callID: Int, isVideo: Boolean)

Accept an incoming call. If the call does not exist or has been terminated, a disconnected state will be sent to onCallState

Parameters

context

application context

accountID

account ID

callID

call ID to hang up

isVideo

video call or not


open fun acceptIncomingCall(context: Context, accountID: String, callID: Int)