public static enum ScannerConfig.PowerMode extends Enum<ScannerConfig.PowerMode>
Enum Constant and Description |
---|
ALWAYS_ON
Highest power, fastest performance.
|
HIGH
High power, and excellent performance.
|
LOW
Lowest power, but slowest performance.
|
OPTIMIZED
Power level adjusts with scanning usage.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.PowerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.PowerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.PowerMode LOW
public static final ScannerConfig.PowerMode OPTIMIZED
public static final ScannerConfig.PowerMode HIGH
public static final ScannerConfig.PowerMode ALWAYS_ON
public static ScannerConfig.PowerMode[] values()
for (ScannerConfig.PowerMode c : ScannerConfig.PowerMode.values()) System.out.println(c);
public static ScannerConfig.PowerMode 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