Constructor
new QRExtendedParameters()
- Source:
Example
//This sample shows how to get QR Structured Append data
let reader = new BarCodeReader("test.png", null, DecodeType.QR);
reader.readBarCodes().forEach(function(result, i, results)
{
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());
});
Methods
equals(obj)
Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.
Parameters:
Name | Type | Description |
---|---|---|
obj |
An object value to compare to this instance. |
Returns:
Type | Description |
---|---|
true if obj has the same value as this instance; otherwise, false. |
- Source:
getMicroQRVersion()
Version of recognized MicroQR Code. From M1 to M4.
Returns:
Type | Description |
---|---|
Version of recognized MicroQR Code. From M1 to M4. |
- Source:
getQRErrorLevel()
Reed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.
Returns:
Type | Description |
---|---|
Reed-Solomon error correction level of recognized barcode. |
- Source:
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.
- Source:
getQRStructuredAppendModeBarCodesQuantity()
Gets the QR structured append mode barcodes quantity. Default value is -1.Value: The quantity of the QR structured append mode barcode.
- Source:
getQRStructuredAppendModeParityData()
Gets the QR structured append mode parity data. Default value is -1.Value: The index of the QR structured append mode barcode.
- Source:
getQRVersion()
Version of recognized QR Code. From Version1 to Version40.
Returns:
Type | Description |
---|---|
Version of recognized QR Code |
- Source:
getRectMicroQRVersion()
Version of recognized RectMicroQR Code. From R7x43 to R17x139.
Returns:
Type | Description |
---|---|
Version of recognized RectMicroQR Code |
- Source:
hashCode()
Returns the hash code for this instance.
Returns:
Type | Description |
---|---|
A 32-bit signed integer hash code. |
- Source:
isEmpty()
Tests whether all parameters has only default values
ValueReturns:
Type | Description |
---|---|
true if all parameters has only default values; otherwise, {@code false}. |
- Source:
toString()
Returns a human-readable string representation of this QRExtendedParameters.
Returns:
Type | Description |
---|---|
A string that represents this QRExtendedParameters. |
- Source: