public enum ScanMode extends java.lang.Enum<ScanMode>
CodeScanner.setScanMode(ScanMode)| Enum Constant and Description |
|---|
CONTINUOUS
Continuous scan, don't stop preview after decoding the code
|
PREVIEW
Preview only, no code recognition
|
SINGLE
Preview will stop after first decoded code
|
| Modifier and Type | Method and Description |
|---|---|
static ScanMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanMode SINGLE
public static final ScanMode CONTINUOUS
public static final ScanMode PREVIEW
public static ScanMode[] values()
for (ScanMode c : ScanMode.values()) System.out.println(c);
public static 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