Enum PopupAttachment.Type

    • Enum Constant Detail

      • IMAGE

        public static final PopupAttachment.Type IMAGE
        Represents attachments that consist of a simple still image.
        Since:
        100.0.0
      • VIDEO

        public static final PopupAttachment.Type VIDEO
        Represents attachments that consist of a video file.
        Since:
        100.0.0
      • DOCUMENT

        public static final PopupAttachment.Type DOCUMENT
        Represents attachments that consist of a document, such as a word document, a powerpoint presentation, a spreadsheet, a PDF, etc.
        Since:
        100.0.0
      • OTHER

        public static final PopupAttachment.Type OTHER
        Represents any other type of attachment.
        Since:
        100.0.0
    • Method Detail

      • values

        public static PopupAttachment.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PopupAttachment.Type c : PopupAttachment.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PopupAttachment.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null