Bold360 and BoldChat Developer Center

ChatAvailabilityListener

com.boldchat.visitor.api

Interface ChatAvailabilityListener



  • public interface ChatAvailabilityListener
    Listener callback for the results of the Account.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 available
      void 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 - The ErrorCodes
        message - The message related to the failure.