com.aspose.barcode.barcoderecognition

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.

        Overrides:
        equals in class java.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>.
      • op_Equality

        public static boolean op_Equality(QRExtendedParameters first,
                                          QRExtendedParameters second)

        Returns a value indicating whether the first QRExtendedParameters value is equal to the second.

        Parameters:
        first - A first compared value
        second - A second compared value
        Returns:
        <b>true</b> if first has the same value as second; otherwise, <b>false</b>.
      • op_Inequality

        public static boolean op_Inequality(QRExtendedParameters first,
                                            QRExtendedParameters second)

        Returns a value indicating if the first QRExtendedParameters value is different from the second.

        Parameters:
        first - A first compared value
        second - A second compared value
        Returns:
        <b>true</b> if first has the different value from second; otherwise, <b>false</b>.
      • hashCode

        public int hashCode()

        Returns the hash code for this instance.

        Overrides:
        hashCode in class java.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 class java.lang.Object
        Returns:
        A string that represents this QRExtendedParameters.