Enum ChatAction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ChatAction>

    public enum ChatAction
    extends java.lang.Enum<ChatAction>
    • Enum Constant Detail

      • UPLOAD_PHOTO

        public static final ChatAction UPLOAD_PHOTO
      • RECORD_VIDEO

        public static final ChatAction RECORD_VIDEO
      • UPLOAD_VIDEO

        public static final ChatAction UPLOAD_VIDEO
      • UPLOAD_AUDIO

        public static final ChatAction UPLOAD_AUDIO
      • UPLOAD_DOCUMENT

        public static final ChatAction UPLOAD_DOCUMENT
      • FIND_LOCATION

        public static final ChatAction FIND_LOCATION
      • RECORD_VIDEO_NOTE

        public static final ChatAction RECORD_VIDEO_NOTE
      • UPLOAD_VIDEO_NOTE

        public static final ChatAction UPLOAD_VIDEO_NOTE
    • Method Detail

      • values

        public static ChatAction[] 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 (ChatAction c : ChatAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChatAction valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null