//core/com.kustomer.core.listeners
[androidJvm]
This package contains all listener classes for Kustomer
You can add KusChatListener for chat updates and respond accordingly. For instance, when the agent starts typing, you can show Agent is typing
message on the UI.
All events received by KusChatListener contains a KusConversation.id parameter for which the event belongs to. If you want to show events for a single currently active session only, make sure to store its KusConversation.id in memory in your application. Using the KusConversation.id parameter received in the event, you can then choose to show or ignore event updates to user
Events supported by KusChatListener are -
Name | Summary |
---|---|
KusChatListener | [androidJvm] interface KusChatListener Listener interface for retrieving Chat updates for every active conversation |