public static enum QrCode.ErrorLevel extends java.lang.Enum<QrCode.ErrorLevel>
| Enum Constant and Description |
|---|
H
Error correction of about 30%
|
L
Error correction of about 7%
|
M
Error correction of about 15%
|
Q
Error correction of about 25%
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static QrCode.ErrorLevel |
lookup(int value) |
static QrCode.ErrorLevel |
lookup(java.lang.String letter) |
static QrCode.ErrorLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QrCode.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QrCode.ErrorLevel L
public static final QrCode.ErrorLevel M
public static final QrCode.ErrorLevel Q
public static final QrCode.ErrorLevel H
public static QrCode.ErrorLevel[] values()
for (QrCode.ErrorLevel c : QrCode.ErrorLevel.values()) System.out.println(c);
public static QrCode.ErrorLevel 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 int getValue()
public static QrCode.ErrorLevel lookup(int value)
public static QrCode.ErrorLevel lookup(java.lang.String letter)