start Video Call
suspend fun startVideoCall( context: Context, recipient: STWRecipientSingle, callPriority: Int = STWCallPriority.NORMAL): ApiResult<STWVCall>
Content copied to clipboard
Call this method to start a new video call 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
call Priority
: the call priority , see STWCallPriority
suspend fun startVideoCall( context: Context, threadId: Int, callPriority: Int = STWCallPriority.NORMAL): ApiResult<STWVCall>
Content copied to clipboard
Call this method to start a new video call 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
call Priority
: the call priority , see STWCallPriority