Reference
Chatvisor.init(...)
init(tenantId, token)
Chatvisor.instance
Set custom server
setCustomServer(hostname)
Set custom cdn server
setCustomCdnServer(cdnServer)
Chatvisor.coBrowsing
Start session
start()
Stop session
stop()
Chatvisor.liveView
Start session
start()
Stop session
stop()
Connection status
isConnected()
Tag session
tag(tag)
Register callbacks
registerCallbacks(startCallback, stopCallback)
Get share Id
getShareId()
Chatvisor.webChat
Show chat
open(userId)
Chatvisor.user
Tag user
tag(user)
Clear tagged user
clear()
Chatvisor.conference
Start conference
Use the following method to start a video conference in the app.
start(conferenceProperties)
Join conference queue
This is useful if want to use a waiting queue before the customer can start the conference. The customer joins the conference queue but he has to wait unit he gets assigned to an agent. Use the queueStatus callback to get updates about the position in the queue and start the conference.
join(conferenceProperties)
Check conference queue
Check the queue status of the current customer which has joined the conference before. When the queue status is -1 an agent picked up the user. Each subsequent call to queueStatus with the same customerId will replace the callback.
queueStatus(customerId, callback)