Package io.scanbot.sdk.barcode
Enum Class BarcodeScannerEngineMode
- All Implemented Interfaces:
Serializable,Comparable<BarcodeScannerEngineMode>,Constable
The engine mode for barcode scanning.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLegacy mode.Main engine mode for high-power devices.Similar to NEXT_GEN, but optimized for scanning from far distances.A faster version of the main engine mode, for use with low-power devices.Similar to NEXT_GEN_LOW_POWER, but optimized for scanning from far distances.Similar to NEXT_GEN_FAR_DISTANCE, but optimized for scanning from far distances on very high power devices. -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeScannerEngineModeReturns the enum constant of this class with the specified name.static BarcodeScannerEngineMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
Legacy mode. Very fast, significantly less accurate. Doesn't support all barcode types. -
NEXT_GEN_LOW_POWER
A faster version of the main engine mode, for use with low-power devices. -
NEXT_GEN
Main engine mode for high-power devices. Supports all barcodes types. -
NEXT_GEN_LOW_POWER_FAR_DISTANCE
Similar to NEXT_GEN_LOW_POWER, but optimized for scanning from far distances. -
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
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
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
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 nameNullPointerException- if the argument is null
-