start Call Out
suspend fun startCallOut( context: Context, recipient: STWRecipientSingle, isAnonymous: Boolean = false): ApiResult<STWVCall>
Content copied to clipboard
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
is Anonymous
: whether the call is anonymous or not
suspend fun startCallOut( context: Context, threadId: Int, isAnonymous: Boolean = false): ApiResult<STWVCall>
Content copied to clipboard
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
thread Id
: The conversation id
is Anonymous
: whether the call is anonymous or not