ScannerConfig.NGSimulScanMode
in your new applications.
Available scanning modes. This allows to select one type at a time.
Example Usage: ScanMode.SINGLE_BARCODE;
@Deprecated public static enum ScannerConfig.ScanMode extends java.lang.Enum<ScannerConfig.ScanMode>
Enum Constant and Description |
---|
MULTI_BARCODE
Deprecated.
We recommend using the new enum
ScannerConfig.NGSimulScanMode in your new applications.
Decode multiple barcodes at a time. Number of barcodes to be decoded needs to be configured from 2 to 10. |
SINGLE_BARCODE
Deprecated.
We recommend using the new enum
ScannerConfig.NGSimulScanMode in your new applications.
Decode only a single barcode at a time. |
UDI
Deprecated.
This feature is supported only on devices prior to those running Android 10 Q.
Decode UDI standard barcodes. This will decode AI fields of the barcodes as well. |
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.ScanMode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.ScanMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ScannerConfig.ScanMode SINGLE_BARCODE
ScannerConfig.NGSimulScanMode
in your new applications.
Decode only a single barcode at a time.@Deprecated public static final ScannerConfig.ScanMode UDI
Decode UDI standard barcodes. This will decode AI fields of the barcodes as well.
@Deprecated public static final ScannerConfig.ScanMode MULTI_BARCODE
ScannerConfig.NGSimulScanMode
in your new applications.
Decode multiple barcodes at a time. Number of barcodes to be decoded needs to be configured from 2 to 10.
public static ScannerConfig.ScanMode[] values()
for (ScannerConfig.ScanMode c : ScannerConfig.ScanMode.values()) System.out.println(c);
public static ScannerConfig.ScanMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null