onSessionConnected()Invokes on socket connection is established. One can open chat module after this event.
onSessionDisconnected(Reason: String)Invokes on socket connection is closed and chat is no longer available. ‘Reason’ will give the reason for the disconnection of the socket.
onAgentAvailable()Invokes on agent becomes available to chat.
onCallConnected()Invokes on direct Video/Audio call is connected to the agent.
onCallDIsconnected()Invokes on direct Video/Audio call is disconnected.
onTriggerEvent(eventName: String?)Invokes on custom trigger event has been set and clicked.
onChatClosed()Invokes on chat is closed by the agent.
noAgentAvailable();Invokes on all Agents become unavailable.
onWaitDialogAppear();Invokes on Audio/Video call is requested by the user (visitor).
onWaitDialogDisappear();Invokes on agent answer the call request.