public interface LiveChatEventListener>
Monitors when the live chat event.
Public Constructors | |
---|---|
LiveChatEventListener()
Creates a new LiveChatEventListener instance. |
Public methods | |
---|---|
void |
onReceiveChatRequest(ChatRequest chatRequest)
Invoked when receive normal chat request. |
void |
onReceiveTransferChatRequest(ChatRequest chatRequest)
Invoked when receive transfer chat request. |
void |
onTimeoutAnswerChat(ChatRequest chatRequest)
Invoked when chat request time out answer. |
void |
onTimeoutInQueue(Conversation conversation)
Invoked when chat request time out in queue. |
void |
onConversationEnded(Conversation conversation, User
endedByUser)
Invoked when conversation end. |
LiveChatEventListener()
Creates a new LiveChatEventListener instance.
void onReceiveChatRequest(ChatRequest chatRequest)
Invoked when receive normal chat request.
Parameters | |
---|---|
chatRequest |
A ChatRequest instance. |
void onReceiveTransferChatRequest(ChatRequest chatRequest)
Invoked when receive transfer chat request.
Parameters | |
---|---|
chatRequest |
A ChatRequest instance. |
void onTimeoutAnswerChat(ChatRequest chatRequest)
Invoked when chat request time out answer.
Parameters | |
---|---|
chatRequest |
A ChatRequest instance. |
void onTimeoutInQueue(Conversation conversation)
Invoked when chat request time out in queue.
Parameters | |
---|---|
conversation |
A Conversation instance. |
void onConversationEnded(Conversation conversation, User endedByUser)
Invoked when conversation end.
Parameters | |
---|---|
conversation |
A Conversation conversation. |
endedByUser |
A User endedByUser. |