public static enum ScannerConfig.ViewFinderMode extends Enum<ScannerConfig.ViewFinderMode>
Example Usage: ViewFinderMode.ENABLED;
Enum Constant and Description |
---|
ENABLED
Viewfinder enabled.
|
STATIC_RECTICLE
Viewfinder enabled with locate reticle.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.ViewFinderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.ViewFinderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.ViewFinderMode ENABLED
public static final ScannerConfig.ViewFinderMode STATIC_RECTICLE
public static ScannerConfig.ViewFinderMode[] values()
for (ScannerConfig.ViewFinderMode c : ScannerConfig.ViewFinderMode.values()) System.out.println(c);
public static ScannerConfig.ViewFinderMode 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