public enum QREncodeType extends java.lang.Enum<QREncodeType>
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR. ForceMicroQR is used for strongly MicroQR symbol generation if it is possible.
Enum Constant and Description |
---|
Auto
Mode starts barcode version negotiation from MicroQR V1
|
ForceMicroQR
Mode starts barcode version negotiation from from MicroQR V1 to V4.
|
ForceQR
Mode starts barcode version negotiation from QR V1
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static QREncodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QREncodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QREncodeType Auto
Mode starts barcode version negotiation from MicroQR V1
public static final QREncodeType ForceQR
Mode starts barcode version negotiation from QR V1
public static final QREncodeType ForceMicroQR
Mode starts barcode version negotiation from from MicroQR V1 to V4. If data cannot be encoded into MicroQR, exception is thrown.
public static QREncodeType[] values()
for (QREncodeType c : QREncodeType.values()) System.out.println(c);
public static QREncodeType 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()