public enum MicroQRVersion extends java.lang.Enum<MicroQRVersion>
Version of MicroQR Code. From M1 to M4.
Enum Constant and Description |
---|
AUTO
Specifies to automatically pick up the best version for MicroQR.
|
M1
Specifies version M1 for Micro QR with 11 x 11 modules.
|
M2
Specifies version M2 for Micro QR with 13 x 13 modules.
|
M3
Specifies version M3 for Micro QR with 15 x 15 modules.
|
M4
Specifies version M4 for Micro QR with 17 x 17 modules.
|
Modifier and Type | Method and Description |
---|---|
static MicroQRVersion |
fromValue(int value) |
int |
getValue() |
static MicroQRVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MicroQRVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MicroQRVersion AUTO
Specifies to automatically pick up the best version for MicroQR. This is default value.
public static final MicroQRVersion M1
Specifies version M1 for Micro QR with 11 x 11 modules.
public static final MicroQRVersion M2
Specifies version M2 for Micro QR with 13 x 13 modules.
public static final MicroQRVersion M3
Specifies version M3 for Micro QR with 15 x 15 modules.
public static final MicroQRVersion M4
Specifies version M4 for Micro QR with 17 x 17 modules.
public static MicroQRVersion[] values()
for (MicroQRVersion c : MicroQRVersion.values()) System.out.println(c);
public static MicroQRVersion 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 MicroQRVersion fromValue(int value)