Package com.aspose.barcode.generation
Enum Class QRErrorLevel
- All Implemented Interfaces:
Serializable,Comparable<QRErrorLevel>,Constable
Level of Reed-Solomon error correction. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionError correction Level H can be applied to QR and RectMicroQR barcodes.Error correction Level L can by applied to QR and MicroQR barcodes.Error correction Level M can be applied to QR barcodes, RectMicroQR barcodes and MicroQR barcodes with versions from M2 to M4.Error correction Level Q can be applied to QR barcodes and MicroQR barcodes with version M4. -
Method Summary
Modifier and TypeMethodDescriptionstatic QRErrorLevelfromValue(int value) intgetValue()static QRErrorLevelReturns the enum constant of this class with the specified name.static QRErrorLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEVEL_L
Error correction Level L can by applied to QR and MicroQR barcodes. Allows recovery of 7% of the code text.
-
LEVEL_M
Error correction Level M can be applied to QR barcodes, RectMicroQR barcodes and MicroQR barcodes with versions from M2 to M4. Allows recovery of 15% of the code text
-
LEVEL_Q
Error correction Level Q can be applied to QR barcodes and MicroQR barcodes with version M4. Allows recovery of 25% of the code text
-
LEVEL_H
Error correction Level H can be applied to QR and RectMicroQR barcodes. Allows recovery of 30% of the code text
-
-
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()
-