Suggestions

close search

LiveChatEventListener

public interface LiveChatEventListener>



Monitors when the live chat event.



Summary


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.


Public constructors


LiveChatEventListener

LiveChatEventListener()

Creates a new LiveChatEventListener instance.



Public methods


onReceiveChatRequest

void onReceiveChatRequest(ChatRequest chatRequest)

Invoked when receive normal chat request.

Parameters
chatRequest

A ChatRequest instance.



onReceiveTransferChatRequest

void onReceiveTransferChatRequest(ChatRequest chatRequest)

Invoked when receive transfer chat request.

Parameters
chatRequest

A ChatRequest instance.



onTimeoutAnswerChat

void onTimeoutAnswerChat(ChatRequest chatRequest)

Invoked when chat request time out answer.

Parameters
chatRequest

A ChatRequest instance.



onTimeoutInQueue

void onTimeoutInQueue(Conversation conversation)

Invoked when chat request time out in queue.

Parameters
conversation

A Conversation instance.



onConversationEnded

void onConversationEnded(Conversation conversation, User endedByUser)

Invoked when conversation end.

Parameters
conversation

A Conversation conversation.

endedByUser

A User endedByUser.