QRExtendedParameters

QRExtendedParameters class

Stores a QR Structured Append information of recognized barcode

public class QRExtendedParameters : joint.BaseJavaClass

Constructors

NameDescription
QRExtendedParameters(object)Initializes a new instance of the QRExtendedParameters class.

Methods

NameDescription
equals(object)Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.
getErrorLevelReed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.
getMicroQRVersionVersion of recognized MicroQR Code. From M1 to M4.
getQRErrorLevelReed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.
getQRStructuredAppendModeBarCodeIndexGets 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.
getQRStructuredAppendModeBarCodesQuantityGets the QR structured append mode barcodes quantity. Default value is -1.Value: The quantity of the QR structured append mode barcode.
getQRStructuredAppendModeParityDataGets the QR structured append mode parity data. Default value is -1.Value: The index of the QR structured append mode barcode.
getQRVersionVersion of recognized QR Code. From Version1 to Version40.
getRectMicroQRVersionVersion of recognized RectMicroQR Code. From R7x43 to R17x139.
getStructuredAppendModeBarCodeIndexValue: The quantity of the QR structured append mode barcode.
getStructuredAppendModeBarCodesQuantityValue: The quantity of the QR structured append mode barcode.
getStructuredAppendModeParityDataValue: The index of the QR structured append mode barcode.
getVersionVersion of recognized QR Code. From Version1 to Version40.
hashCodeReturns the hash code for this instance.
init
isEmpty
toStringReturns a human-readable string representation of this QRExtendedParameters.

Examples

//This sample shows how to get QR Structured Append data
let reader = new BarCodeReader("test.png", null,  DecodeType.QR);
let results = reader.readBarCodes();
for(let i = 0; i < results.length; i++)
{
let result = results[i];
console.log("BarCode Type: " + result.getCodeTypeName());
console.log("BarCode CodeText: " + result.getCodeText());
console.log("QR Structured Append Quantity: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity());
console.log("QR Structured Append Index: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodeIndex());
console.log("QR Structured Append ParityData: " + result.getExtended().getQR().getQRStructuredAppendModeParityData());
}

See Also