public static enum ScannerConfig.ScanMode extends Enum<ScannerConfig.ScanMode>
Example Usage: ScanMode.SINGLE_BARCODE;
Enum Constant and Description |
---|
SINGLE_BARCODE
Decode only a single barcode at a time.
|
UDI
Decode UDI standard barcodes.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.ScanMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.ScanMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.ScanMode SINGLE_BARCODE
public static final ScannerConfig.ScanMode UDI
public static ScannerConfig.ScanMode[] values()
for (ScannerConfig.ScanMode c : ScannerConfig.ScanMode.values()) System.out.println(c);
public static ScannerConfig.ScanMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null