Package io.scanbot.sdk.barcode
Enum BarcodeScannerEngineMode
- java.lang.Object
-
- java.lang.Enum<BarcodeScannerEngineMode>
-
- io.scanbot.sdk.barcode.BarcodeScannerEngineMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BarcodeScannerEngineMode>
public enum BarcodeScannerEngineMode extends java.lang.Enum<BarcodeScannerEngineMode>
The engine mode for barcode scanning.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACYLegacy mode.NEXT_GENMain engine mode for high-power devices.NEXT_GEN_FAR_DISTANCESimilar to NEXT_GEN, but optimized for scanning from far distances.NEXT_GEN_LOW_POWERA faster version of the main engine mode, for use with low-power devices.NEXT_GEN_LOW_POWER_FAR_DISTANCESimilar to NEXT_GEN_LOW_POWER, but optimized for scanning from far distances.NEXT_GEN_MAX_DISTANCESimilar 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 BarcodeScannerEngineModevalueOf(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.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-