Methods
- You can open a new video call just calling to 'openCall()' method:
VideoCallClient.openCall(currentActivity)
- Also you can check for any current pending videocall in course, with 'checkPendingCall()' and resume it (If exists):
VideoCallClient.checkPendingCall(object : VideoCallClient.FetchCurrentCallListener{
override fun onSuccess(body: VideocallInfo?) {
if (body != null) {
VideoCallClient.resumeVideocall(currentActivity)
}
}
override fun onFailure(message: String?) {
}
})
- You can check if the user has Video Call with 'hasVideoCall()' method. This method must be used after successful login.
VideoCallClient.hasVideoCall()
- You can check if the user has Video Call 1 to 1 with 'hasVideo1to1()' method. This method must be used after successful login.
VideoCallClient.hasVideo1to1()