connectToChannel

suspend fun connectToChannel(    context: Context,     channelSessionID: Long,     isVisitorChannel: Boolean = false): ApiResult<STWVCall>

Call this method to connect to a channel session with the channelSessionID

Return

a ApiResult.Success of STWVCall object if the call started successfully or else will return ApiResult.Error if not

Parameters

context

: the application context

channelSessionID

: the ID of the channel to connect on

isVisitorChannel

: whether the channel is visitor or not