public enum QREncodeType extends java.lang.Enum<QREncodeType>
QR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR. FORCE_MICRO_QR is used for strongly MicroQR symbol generation if it is possible.
Enum Constant and Description |
---|
AUTO
Mode starts barcode version negotiation from MicroQR V1
|
FORCE_MICRO_QR
Mode starts barcode version negotiation from from MicroQR V1 to V4.
|
FORCE_QR
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 FORCE_QR
Mode starts barcode version negotiation from QR V1
public static final QREncodeType FORCE_MICRO_QR
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()