public enum UpcEanSecurityLevel extends java.lang.Enum<UpcEanSecurityLevel> implements IEnumType
Enum Constant and Description |
---|
Level0
This setting allows the scan engine to operate in its most aggressive state,
while providing sufficient security in decoding most “in-spec” UPC/EAN bar codes.
|
Level1
As bar code quality levels diminish, certain characters become prone to misdecodes before others (i.e., 1, 2, 7, 8).
|
Level2
If misdecodes of poorly printed bar codes occur,
and the misdecodes are not limited to characters 1, 2, 7, and 8, select this security level.
|
Level3
If misdecodes still occur after selecting Security Level 2, select this security level.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static UpcEanSecurityLevel |
valueOf(int code) |
static UpcEanSecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpcEanSecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpcEanSecurityLevel Level0
public static final UpcEanSecurityLevel Level1
public static final UpcEanSecurityLevel Level2
public static final UpcEanSecurityLevel Level3
public static UpcEanSecurityLevel[] values()
for (UpcEanSecurityLevel c : UpcEanSecurityLevel.values()) System.out.println(c);
public static UpcEanSecurityLevel 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 nullpublic java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<UpcEanSecurityLevel>
public static UpcEanSecurityLevel valueOf(int code)