connect To Channel
suspend fun connectToChannel( context: Context, channelSessionID: Long, isVisitorChannel: Boolean = false): ApiResult<STWVCall>
Content copied to clipboard
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
channel Session ID
: the ID of the channel to connect on
is Visitor Channel
: whether the channel is visitor or not