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. |
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.
|
int |
hashCode()
Returns the hash code for this instance.
|
static boolean |
op_Equality(QRExtendedParameters first,
QRExtendedParameters second)
Returns a value indicating whether the first
QRExtendedParameters value is equal to the second. |
static boolean |
op_Inequality(QRExtendedParameters first,
QRExtendedParameters second)
Returns a value indicating if the first
QRExtendedParameters value is different from the second. |
java.lang.String |
toString()
Returns a human-readable string representation of this
QRExtendedParameters . |
isEmpty
public 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 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.Object
obj
- 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 static boolean op_Equality(QRExtendedParameters first, QRExtendedParameters second)
Returns a value indicating whether the first QRExtendedParameters
value is equal to the second.
first
- A first compared valuesecond
- A second compared value<b>true</b>
if first has the same value as second; otherwise, <b>false</b>
.public static boolean op_Inequality(QRExtendedParameters first, QRExtendedParameters second)
Returns a value indicating if the first QRExtendedParameters
value is different from the second.
first
- A first compared valuesecond
- A second compared value<b>true</b>
if first has the different value from second; otherwise, <b>false</b>
.public int hashCode()
Returns the hash code for this instance.
hashCode
in class java.lang.Object
public java.lang.String toString()
Returns a human-readable string representation of this QRExtendedParameters
.
toString
in class java.lang.Object
QRExtendedParameters
.