ChatAvailabilityListener
com.boldchat.visitor.api
Interface ChatAvailabilityListener
-
public interface ChatAvailabilityListener
Listener callback for the results of theAccount.getChatAvailability(com.boldchat.visitor.api.ChatAvailabilityListener)
method.
-
-
Method Summary
Methods Modifier and Type Method and Description void
onChatAvailabilityFailed(int failType, java.lang.String message)
Failed to retrieve the availability status from the chat servers.void
onChatAvailable()
Called when chat is availablevoid
onChatUnavailable(UnavailableReason unavailableReason)
Called when chat is unavailable
-
-
-
Method Detail
-
onChatAvailable
void onChatAvailable()
Called when chat is available
-
onChatUnavailable
void onChatUnavailable(UnavailableReason unavailableReason)
Called when chat is unavailable- Parameters:
unavailableReason
- The reason that chat is unavailable.
-
onChatAvailabilityFailed
void onChatAvailabilityFailed(int failType, java.lang.String message)
Failed to retrieve the availability status from the chat servers.- Parameters:
failType
- TheErrorCodes
message
- The message related to the failure.
-
-