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_ARSimilar to NEXT_GEN, but optimized for AR.NEXT_GEN_LOW_POWERA faster version of the main engine mode, for use with low-power devices.NEXT_GEN_LOW_POWER_ARSimilar to NEXT_GEN_LOW_POWER, but optimized for AR.
-
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_AR
public static final BarcodeScannerEngineMode NEXT_GEN_LOW_POWER_AR
Similar to NEXT_GEN_LOW_POWER, but optimized for AR.
-
NEXT_GEN_AR
public static final BarcodeScannerEngineMode NEXT_GEN_AR
Similar to NEXT_GEN, but optimized for AR.
-
-
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
-
-