Class QRExtendedParameters
- java.lang.Object
-
- com.aspose.barcode.barcoderecognition.BaseExtendedParameters
-
- com.aspose.barcode.barcoderecognition.QRExtendedParameters
-
public final class QRExtendedParameters extends BaseExtendedParameters
Stores a QR Structured Append information of recognized barcode
This sample shows how to get QR Structured Append data
BarCodeReader reader = new BarCodeReader("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()); }
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specifiedQRExtendedParameters
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.java.lang.String
toString()
Returns a human-readable string representation of thisQRExtendedParameters
.-
Methods inherited from class com.aspose.barcode.barcoderecognition.BaseExtendedParameters
isEmpty
-
-
-
-
Method Detail
-
getQRStructuredAppendModeBarCodesQuantity
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.
-
getQRStructuredAppendModeBarCodeIndex
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.
-
getQRStructuredAppendModeParityData
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.
-
equals
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
QRExtendedParameters
value.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- An System.Object value to compare to this instance.- Returns:
<b>true</b>
if obj has the same value as this instance; otherwise,<b>false</b>
.
-
hashCode
public int hashCode()
Returns the hash code for this instance.
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- A 32-bit signed integer hash code.
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this
QRExtendedParameters
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
QRExtendedParameters
.
-
-