ChatQueueListener
com.boldchat.visitor.api
Interface ChatQueueListener
-
public interface ChatQueueListener
This listener will be called if there is a chat queue waiting for an available operator.
-
-
Method Detail
-
onUpdateQueue
void onUpdateQueue(int position, boolean unavailableFormEnabled)
Called when the queue status has been updated.- Parameters:
position
- The position the user is in the chat queue.unavailableFormEnabled
- If the user should be shown an option to cancel waiting, and be shown the unavailable email form instead. If the user chooses to cancel waiting,com.boldchat.visitor.api.Chat#getUnavailableForm()
should be called to retrieve the form.
-
-