public static enum ScannerConfig.SupplementalMode extends Enum<ScannerConfig.SupplementalMode>
Example Usage: SupplementalMode.NO;
Enum Constant and Description |
---|
ALWAYS
The scanner only decodes UPC/EAN symbols with supplemental
characters, and ignores symbols without supplementals.
|
AUTO
The scanner decodes UPC/EAN symbols with supplemental characters
immediately .
|
NO
The scanner is presented with a UPC/EAN plus supplemental symbol, the
scanner decodes UPC/EAN and ignores the supplemental characters.
|
S_378_379
Enables (auto-discriminate) supplemental for UPC/EAN codes starting
with 378 or 379.
|
S_414_419_434_439
Enables (auto-discriminate) supplemental for UPC/EAN codes starting
with 414, 419, 434 or 439.
|
S_977
Enables (auto-discriminate) supplemental for UPC/EAN codes starting
with 977.
|
S_978_979
Enables (auto-discriminate) supplemental for UPC/EAN codes starting
with 978 or 979.
|
SMART
Enables smart supplementals.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.SupplementalMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.SupplementalMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.SupplementalMode NO
public static final ScannerConfig.SupplementalMode ALWAYS
public static final ScannerConfig.SupplementalMode AUTO
public static final ScannerConfig.SupplementalMode SMART
public static final ScannerConfig.SupplementalMode S_378_379
public static final ScannerConfig.SupplementalMode S_978_979
public static final ScannerConfig.SupplementalMode S_414_419_434_439
public static final ScannerConfig.SupplementalMode S_977
public static ScannerConfig.SupplementalMode[] values()
for (ScannerConfig.SupplementalMode c : ScannerConfig.SupplementalMode.values()) System.out.println(c);
public static ScannerConfig.SupplementalMode 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