Enum CAENRFIDReaderEventType

    • Enum Constant Detail

      • EVT_TYPE_TRIGGER_BUTTON_PRESSED

        public static final CAENRFIDReaderEventType EVT_TYPE_TRIGGER_BUTTON_PRESSED
        Trigger button has been pressed
      • EVT_TYPE_POWER_BUTTON_PRESSED

        public static final CAENRFIDReaderEventType EVT_TYPE_POWER_BUTTON_PRESSED
        Power button has been pressed
      • EVT_TYPE_UNDEF

        public static final CAENRFIDReaderEventType EVT_TYPE_UNDEF
        Undefined or unrecognized event (RFU, not used)
    • Method Detail

      • values

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

        public static CAENRFIDReaderEventType 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
      • value

        public int value()
        The value for this enumeration.
        Returns:
        An integer representing this enumeration.
      • enumFrom

        public static CAENRFIDReaderEventType enumFrom​(int value)
        Gets the enumeration from its integer value.
        Parameters:
        value - The integer value to parse.
        Returns:
        A CAENRFIDReaderEventType representing the value passed in.