Class AuAlert


  • public class AuAlert
    extends AuResponse
    A response to ask client to show an alert.

    data[0]: the alert message

    Since:
    3.0.0
    Author:
    tomyeh
    • Constructor Detail

      • AuAlert

        public AuAlert​(java.lang.String message)
      • AuAlert

        public AuAlert​(java.lang.String message,
                       boolean disabledAuRequest)
        For the response error use, the next AuRequest will be stopped until the alert dialog is closed.
        Parameters:
        message - the message to display.
        disabledAuRequest - whether to disable the next AuRequset
        Since:
        7.0.0
      • AuAlert

        public AuAlert​(java.lang.String message,
                       java.lang.String title)
        Parameters:
        message - the message to display.
        title - the title of the message box
        Since:
        5.0.3
      • AuAlert

        public AuAlert​(java.lang.String message,
                       java.lang.String title,
                       java.lang.String icon)
        Parameters:
        message - the message to display.
        title - the title of the message box
        icon - the icon to show. It could null, "QUESTION", "EXCLAMATION", "INFORMATION", "ERROR", "NONE". If null, "ERROR" is assumed
        Since:
        5.0.3