Enum Class BarcodeScannerEngineMode

java.lang.Object
java.lang.Enum<BarcodeScannerEngineMode>
io.scanbot.sdk.barcode.BarcodeScannerEngineMode
All Implemented Interfaces:
Serializable, Comparable<BarcodeScannerEngineMode>, Constable

public enum BarcodeScannerEngineMode extends Enum<BarcodeScannerEngineMode>
The engine mode for barcode scanning.
  • Enum Constant Details

    • 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. In single‑shot mode, performance can be slow and may require significant memory depending on input resolution.
    • 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. In single‑shot mode, performance can be very slow and may require significant memory depending on input resolution.
  • Method Details

    • values

      public static BarcodeScannerEngineMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BarcodeScannerEngineMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null