Enum Class QRVersion
- All Implemented Interfaces:
Serializable,Comparable<QRVersion>,Constable
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies to automatically pick up the best version for QR.Specifies version 1 with 21 x 21 modules.Specifies version 2 with 25 x 25 modules.Specifies version 3 with 29 x 29 modules.Specifies version 4 with 33 x 33 modules.Specifies version 5 with 37 x 37 modules.Specifies version 6 with 41 x 41 modules.Specifies version 7 with 45 x 45 modules.Specifies version 8 with 49 x 49 modules.Specifies version 9 with 53 x 53 modules.Specifies version 10 with 57 x 57 modules.Specifies version 11 with 61 x 61 modules.Specifies version 12 with 65 x 65 modules.Specifies version 13 with 69 x 69 modules.Specifies version 14 with 73 x 73 modules.Specifies version 15 with 77 x 77 modules.Specifies version 16 with 81 x 81 modules.Specifies version 17 with 85 x 85 modules.Specifies version 18 with 89 x 89 modules.Specifies version 19 with 93 x 93 modules.Specifies version 20 with 97 x 97 modules.Specifies version 21 with 101 x 101 modules.Specifies version 22 with 105 x 105 modules.Specifies version 23 with 109 x 109 modules.Specifies version 24 with 113 x 113 modules.Specifies version 25 with 117 x 117 modules.Specifies version 26 with 121 x 121 modules.Specifies version 27 with 125 x 125 modules.Specifies version 28 with 129 x 129 modules.Specifies version 29 with 133 x 133 modules.Specifies version 30 with 137 x 137 modules.Specifies version 31 with 141 x 141 modules.Specifies version 32 with 145 x 145 modules.Specifies version 33 with 149 x 149 modules.Specifies version 34 with 153 x 153 modules.Specifies version 35 with 157 x 157 modules.Specifies version 36 with 161 x 161 modules.Specifies version 37 with 165 x 165 modules.Specifies version 38 with 169 x 169 modules.Specifies version 39 with 173 x 173 modules.Specifies version 40 with 177 x 177 modules.Deprecated.This option is obsolete and will be removed in future releases.Deprecated.This option is obsolete and will be removed in future releases.Deprecated.This option is obsolete and will be removed in future releases.Deprecated.This option is obsolete and will be removed in future releases. -
Method Summary
-
Enum Constant Details
-
AUTO
Specifies to automatically pick up the best version for QR. This is default value.
-
VERSION_01
Specifies version 1 with 21 x 21 modules.
-
VERSION_02
Specifies version 2 with 25 x 25 modules.
-
VERSION_03
Specifies version 3 with 29 x 29 modules.
-
VERSION_04
Specifies version 4 with 33 x 33 modules.
-
VERSION_05
Specifies version 5 with 37 x 37 modules.
-
VERSION_06
Specifies version 6 with 41 x 41 modules.
-
VERSION_07
Specifies version 7 with 45 x 45 modules.
-
VERSION_08
Specifies version 8 with 49 x 49 modules.
-
VERSION_09
Specifies version 9 with 53 x 53 modules.
-
VERSION_10
Specifies version 10 with 57 x 57 modules.
-
VERSION_11
Specifies version 11 with 61 x 61 modules.
-
VERSION_12
Specifies version 12 with 65 x 65 modules.
-
VERSION_13
Specifies version 13 with 69 x 69 modules.
-
VERSION_14
Specifies version 14 with 73 x 73 modules.
-
VERSION_15
Specifies version 15 with 77 x 77 modules.
-
VERSION_16
Specifies version 16 with 81 x 81 modules.
-
VERSION_17
Specifies version 17 with 85 x 85 modules.
-
VERSION_18
Specifies version 18 with 89 x 89 modules.
-
VERSION_19
Specifies version 19 with 93 x 93 modules.
-
VERSION_20
Specifies version 20 with 97 x 97 modules.
-
VERSION_21
Specifies version 21 with 101 x 101 modules.
-
VERSION_22
Specifies version 22 with 105 x 105 modules.
-
VERSION_23
Specifies version 23 with 109 x 109 modules.
-
VERSION_24
Specifies version 24 with 113 x 113 modules.
-
VERSION_25
Specifies version 25 with 117 x 117 modules.
-
VERSION_26
Specifies version 26 with 121 x 121 modules.
-
VERSION_27
Specifies version 27 with 125 x 125 modules.
-
VERSION_28
Specifies version 28 with 129 x 129 modules.
-
VERSION_29
Specifies version 29 with 133 x 133 modules.
-
VERSION_30
Specifies version 30 with 137 x 137 modules.
-
VERSION_31
Specifies version 31 with 141 x 141 modules.
-
VERSION_32
Specifies version 32 with 145 x 145 modules.
-
VERSION_33
Specifies version 33 with 149 x 149 modules.
-
VERSION_34
Specifies version 34 with 153 x 153 modules.
-
VERSION_35
Specifies version 35 with 157 x 157 modules.
-
VERSION_36
Specifies version 36 with 161 x 161 modules.
-
VERSION_37
Specifies version 37 with 165 x 165 modules.
-
VERSION_38
Specifies version 38 with 169 x 169 modules.
-
VERSION_39
Specifies version 39 with 173 x 173 modules.
-
VERSION_40
Specifies version 40 with 177 x 177 modules.
-
VERSION_M1
Deprecated.This option is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type with MicroQRVersion parameter.Specifies version M1 for Micro QR with 11 x 11 modules.
-
VERSION_M2
Deprecated.This option is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type with MicroQRVersion parameter.Specifies version M2 for Micro QR with 13 x 13 modules.
-
VERSION_M3
Deprecated.This option is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type with MicroQRVersion parameter.Specifies version M3 for Micro QR with 15 x 15 modules.
-
VERSION_M4
Deprecated.This option is obsolete and will be removed in future releases. It is recommended to use separate MicroQR barcode type with MicroQRVersion parameter.Specifies version M4 for Micro QR with 17 x 17 modules.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
-
getValue
public int getValue()
-