public interface ChatListener
Implement this interface in the host activity that embeds ZopimChatFragment
to listen for events defined in this interface.
Modifier and Type | Method and Description |
---|---|
void |
onChatEnded()
Callback that notifies that the chat has ended
|
void |
onChatInitialized()
Callback which notifies that
Chat chat is initialized and ready to be used. |
void |
onChatLoaded(Chat chat)
Callback that is invoked when
ZopimChatFragment is finished loading the Chat . |
void onChatLoaded(Chat chat)
ZopimChatFragment
is finished loading the Chat
.
This will deliver the chat instance that was started by ZopimChatFragment
chat
- instance that was started by ZopimChatFragment
void onChatInitialized()
Chat
chat is initialized and ready to be used.void onChatEnded()