Enum BarcodeScannerEngineMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      LEGACY
      Legacy mode.
      NEXT_GEN
      Main engine mode for high-power devices.
      NEXT_GEN_FAR_DISTANCE
      Similar to NEXT_GEN, but optimized for scanning from far distances.
      NEXT_GEN_LOW_POWER
      A faster version of the main engine mode, for use with low-power devices.
      NEXT_GEN_LOW_POWER_FAR_DISTANCE
      Similar to NEXT_GEN_LOW_POWER, but optimized for scanning from far distances.
      NEXT_GEN_MAX_DISTANCE
      Similar to NEXT_GEN_FAR_DISTANCE, but optimized for scanning from far distances on very high power devices.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static BarcodeScannerEngineMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BarcodeScannerEngineMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • LEGACY

        public static final BarcodeScannerEngineMode LEGACY
        Legacy mode. Very fast, significantly less accurate. Doesn't support all barcode types.
      • NEXT_GEN_LOW_POWER

        public static final BarcodeScannerEngineMode NEXT_GEN_LOW_POWER
        A faster version of the main engine mode, for use with low-power devices.
      • NEXT_GEN

        public static final BarcodeScannerEngineMode NEXT_GEN
        Main engine mode for high-power devices. Supports all barcodes types.
      • NEXT_GEN_LOW_POWER_FAR_DISTANCE

        public static final BarcodeScannerEngineMode NEXT_GEN_LOW_POWER_FAR_DISTANCE
        Similar to NEXT_GEN_LOW_POWER, but optimized for scanning from far distances.
      • NEXT_GEN_FAR_DISTANCE

        public static final BarcodeScannerEngineMode NEXT_GEN_FAR_DISTANCE
        Similar to NEXT_GEN, but optimized for scanning from far distances.
      • NEXT_GEN_MAX_DISTANCE

        public static final BarcodeScannerEngineMode NEXT_GEN_MAX_DISTANCE
        Similar to NEXT_GEN_FAR_DISTANCE, but optimized for scanning from far distances on very high power devices.
    • Method Detail

      • values

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

        public static BarcodeScannerEngineMode 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