QRExtendedParameters
Inheritance: java.lang.Object, com.aspose.barcode.barcoderecognition.BaseExtendedParameters
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("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()); }
Methods
Method | Description |
---|---|
equals(Object obj) | Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value. |
getClass() | |
getMicroQRVersion() | Version of recognized MicroQR Code. |
getQRErrorLevel() | Reed-Solomon error correction level of recognized barcode. |
getQRStructuredAppendModeBarCodeIndex() | Gets the index of the QR structured append mode barcode. |
getQRStructuredAppendModeBarCodesQuantity() | Gets the QR structured append mode barcodes quantity. |
getQRStructuredAppendModeParityData() | Gets the QR structured append mode parity data. |
getQRVersion() | Version of recognized QR Code. |
getRectMicroQRVersion() | Version of recognized RectMicroQR Code. |
hashCode() | Returns the hash code for this instance. |
isEmpty() | Tests whether all parameters has only default values |
notify() | |
notifyAll() | |
toString() | Returns a human-readable string representation of this QRExtendedParameters . |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object obj)
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | An System.Object value to compare to this instance. |
Returns: boolean - true if obj has the same value as this instance; otherwise, false .
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getMicroQRVersion()
public MicroQRVersion getMicroQRVersion()
Version of recognized MicroQR Code. From M1 to M4.
Returns: MicroQRVersion - Version of recognized MicroQR Code. From M1 to M4.
getQRErrorLevel()
public QRErrorLevel getQRErrorLevel()
Reed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.
Returns: QRErrorLevel - Reed-Solomon error correction level of recognized 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.
Returns: int
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.
Returns: int
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.
Returns: int
getQRVersion()
public QRVersion getQRVersion()
Version of recognized QR Code. From Version1 to Version40.
Returns: QRVersion - Version of recognized QR Code
getRectMicroQRVersion()
public RectMicroQRVersion getRectMicroQRVersion()
Version of recognized RectMicroQR Code. From R7x43 to R17x139.
Returns: RectMicroQRVersion - Version of recognized RectMicroQR Code
hashCode()
public int hashCode()
Returns the hash code for this instance.
Returns: int - A 32-bit signed integer hash code.
isEmpty()
public boolean isEmpty()
Tests whether all parameters has only default values
Value: Returns true if all parameters has only default values; otherwise, false .
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns a human-readable string representation of this QRExtendedParameters .
Returns: java.lang.String - A string that represents this QRExtendedParameters .
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |