Package com.zopim.android.sdk.prechat
Interface ChatListener
-
- All Known Implementing Classes:
- ZopimChatActivity
public interface ChatListener
Interface definition of chat events.Implement this interface in the host activity that embeds
ZopimChatFragment
to listen for events defined in this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onChatEnded()
Callback that notifies that the chat has endedvoid
onChatInitialized()
Callback which notifies thatChatApi
chat is initialized and ready to be used.void
onChatLoaded(Chat chat)
Callback that is invoked whenZopimChatFragment
is finished loading theChat
.
-
-
-
Method Detail
-
onChatLoaded
void onChatLoaded(Chat chat)
Callback that is invoked whenZopimChatFragment
is finished loading theChat
.This will deliver the chat instance that was started by
ZopimChatFragment
- Parameters:
chat
- instance that was started byZopimChatFragment
-
onChatInitialized
void onChatInitialized()
Callback which notifies thatChatApi
chat is initialized and ready to be used.
-
onChatEnded
void onChatEnded()
Callback that notifies that the chat has ended
-
-