Class 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("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());
    • 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.

        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>.
      • hashCode

        public int hashCode()

        Returns the hash code for this instance.

        hashCode in class java.lang.Object
        A 32-bit signed integer hash code.
      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this QRExtendedParameters.

        toString in class java.lang.Object
        A string that represents this QRExtendedParameters.