setCallHold

open fun setCallHold(context: Context, accountID: String, callID: Int, hold: Boolean)

Sets hold status for a 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

hold

true to hold the call, false to un-hold it