startCallOut

suspend fun startCallOut(    context: Context,     recipient: STWRecipientSingle,     isAnonymous: Boolean = false): ApiResult<STWVCall>

Call this method to start a new call out using recipient

Return

a ApiResult.Success of STWVCall object if the call started successfully otherwise will return ApiResult.Error

Parameters

context

: the application context

recipient

: the other recipient information of type STWRecipientSingle

isAnonymous

: whether the call is anonymous or not


suspend fun startCallOut(    context: Context,     threadId: Int,     isAnonymous: Boolean = false): ApiResult<STWVCall>

Call this method to start a new call out using thread id

Return

a ApiResult.Success of STWVCall object if the call started successfully otherwise will return ApiResult.Error

Parameters

context

: the application context

threadId

: The conversation id

isAnonymous

: whether the call is anonymous or not