Bold360 and BoldChat Developer Center

ChatUnavailableListener

com.boldchat.visitor.api

Interface ChatUnavailableListener



  • public interface ChatUnavailableListener
    Listener callback that is used to return the result of Chat.getUnavailableForm(ChatUnavailableListener).
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void onChatUnavailable(UnavailableForm unavailableForm)
      Chat is currently unavailable
      void onChatUnavailableFailed(int failType, java.lang.String message)
      Called when retrieving the unavailable email form failed.
    • Method Detail

      • onChatUnavailable

        void onChatUnavailable(UnavailableForm unavailableForm)
        Chat is currently unavailable
        Parameters:
        unavailableForm - The unavailable form if one is enabled.
      • onChatUnavailableFailed

        void onChatUnavailableFailed(int failType,
                                   java.lang.String message)
        Called when retrieving the unavailable email form failed.
        Parameters:
        failType - The ErrorCodes for this type of failure.
        message - The message that attempts to explain the reason for the failure.