public final class QRExtendedParameters extends BaseExtendedParameters
Stores a QR Structured Append information of recognized barcode
This sample shows how to get QR Structured Append dataBarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.QR); for(BarCodeResult result : reader.readBarCodes()) { System.out.println("BarCode Type: " + result.getCodeTypeName()); System.out.println("BarCode CodeText: " + result.getCodeText()); System.out.println("QR Structured Append Quantity: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity()); System.out.println("QR Structured Append Index: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodeIndex()); System.out.println("QR Structured Append ParityData: " + result.getExtended().getQR().getQRStructuredAppendModeParityData()); }
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
QRExtendedParameters value. |
MicroQRVersion |
getMicroQRVersion()
Version of recognized MicroQR Code.
|
QRErrorLevel |
getQRErrorLevel()
Reed-Solomon error correction level of recognized barcode.
|
int |
getQRStructuredAppendModeBarCodeIndex()
Gets the index of the QR structured append mode barcode.
|
int |
getQRStructuredAppendModeBarCodesQuantity()
Gets the QR structured append mode barcodes quantity.
|
int |
getQRStructuredAppendModeParityData()
Gets the QR structured append mode parity data.
|
QRVersion |
getQRVersion()
Version of recognized QR Code.
|
RectMicroQRVersion |
getRectMicroQRVersion()
Version of recognized RectMicroQR Code.
|
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
QRExtendedParameters. |
isEmptypublic int getQRStructuredAppendModeBarCodesQuantity()
Gets the QR structured append mode barcodes quantity. Default value is -1.
Value: The quantity of the QR structured append mode barcode.public int getQRStructuredAppendModeBarCodeIndex()
Gets the index of the QR structured append mode barcode. Index starts from 0. Default value is -1.
Value: The quantity of the QR structured append mode barcode.public int getQRStructuredAppendModeParityData()
Gets the QR structured append mode parity data. Default value is -1.
Value: The index of the QR structured append mode barcode.public QRVersion getQRVersion()
public MicroQRVersion getMicroQRVersion()
public RectMicroQRVersion getRectMicroQRVersion()
public QRErrorLevel getQRErrorLevel()
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.
equals in class java.lang.Objectobj - An System.Object value to compare to this instance.<b>true</b> if obj has the same value as this instance; otherwise, <b>false</b>.public int hashCode()
Returns the hash code for this instance.
hashCode in class java.lang.Objectpublic java.lang.String toString()
Returns a human-readable string representation of this QRExtendedParameters.
toString in class java.lang.ObjectQRExtendedParameters.