Enum BarcodeScannerEngineMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum BarcodeScannerEngineMode extends Enum<BarcodeScannerEngineMode>
The engine mode for barcode scanning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BarcodeScannerEngineMode.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description 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, optimized for scanning from far distances.
-
Method Summary
Modifier and Type Method Description final String
toJson()
final BarcodeScannerEngineMode
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<BarcodeScannerEngineMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared.
-
-
-
Method Detail
-
valueOf
final BarcodeScannerEngineMode valueOf(String value)
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.)
-
values
final Array<BarcodeScannerEngineMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-