Package com.aspose.barcode.generation
Enum QREncodeType
- java.lang.Object
-
- java.lang.Enum<QREncodeType>
-
- com.aspose.barcode.generation.QREncodeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QREncodeType>
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 Summary
Enum Constants Enum Constant Description AUTO
Mode starts barcode version negotiation from MicroQR V1FORCE_MICRO_QR
Mode starts barcode version negotiation from from MicroQR V1 to V4.FORCE_QR
Mode starts barcode version negotiation from QR V1
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
AUTO
public static final QREncodeType AUTO
Mode starts barcode version negotiation from MicroQR V1
-
FORCE_QR
public static final QREncodeType FORCE_QR
Mode starts barcode version negotiation from QR V1
-
FORCE_MICRO_QR
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.
-
-
Method Detail
-
values
public static QREncodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QREncodeType c : QREncodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QREncodeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-