Acquire Delegates
Session Delegates
To set session listener call sdk method :
onSessionConnected()
executed when socket connection is established. One can open chat module after this event.onSessionDisconnected(String reason)
executed when socket connection is closed and chat is no longer available. ‘reason’ will give the reason for disconnection of the socket.onAgentAvailable()
executed when agent is available to chat. Use only if required.onCallConnected()
executed when direct Video/Audio call is connected to the agent. Use only if required.onCallDIsconnected()
executed when direct Video/Audio call is disconnected. Use only if required.onTriggerEvent(String eventName)
executed when a custom trigger event has been set and clicked.onChatClosed()
executed when agent closes the chat. Use only if required.noAgentAvailable();
executed when no agent is available.onWaitDialogAppear();
executed when visitor sends a call request.onWaitDialogDisappear();
executed when agent accepts call request.onCoBrowseConnect();
executed when cobrowse session is connected.onCoBrowseDisconnect();
executed when cobrowse session is disconnected.
Last updated