Aspose.Barcode for PHP via Java  21.3
Aspose.Barcode for PHP via Java Generation and Recognition API docs
QRExtendedParameters Class Reference

Inherits BaseJavaClass.

Public Member Functions

 getQRStructuredAppendModeBarCodesQuantity ()
 
 getQRStructuredAppendModeBarCodeIndex ()
 
 getQRStructuredAppendModeParityData ()
 
 equals ($obj)
 
 hashCode ()
 
 toString ()
 

Detailed Description

Stores a QR Structured Append information of recognized barcode This sample shows how to get QR Structured Append data

$reader = new BarCodeReader("test.png", DecodeType::QR); foreach($reader->readBarCodes() as $result) { print("BarCode Type: ".$result->getCodeTypeName()); print("BarCode CodeText: ".$result->getCodeText()); print("QR Structured Append Quantity: ".$result->getExtended()->getQR()->getQRStructuredAppendModeBarCodesQuantity()); print("QR Structured Append Index: ".$result->getExtended()->getQR()->getQRStructuredAppendModeBarCodeIndex()); print("QR Structured Append ParityData: ".$result->getExtended()->getQR()->getQRStructuredAppendModeParityData()); }

Member Function Documentation

◆ equals()

equals (   $obj)

Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.

Parameters
objAn object value to compare to this instance.
Returns
true if obj has the same value as this instance; otherwise, false.

◆ getQRStructuredAppendModeBarCodeIndex()

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.

◆ getQRStructuredAppendModeBarCodesQuantity()

getQRStructuredAppendModeBarCodesQuantity ( )

Gets the QR structured append mode barcodes quantity. Default value is -1.Value: The quantity of the QR structured append mode barcode.

◆ getQRStructuredAppendModeParityData()

getQRStructuredAppendModeParityData ( )

Gets the QR structured append mode parity data. Default value is -1.Value: The index of the QR structured append mode barcode.

◆ hashCode()

hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ toString()

toString ( )

Returns a human-readable string representation of this QRExtendedParameters.

Returns
A string that represents this QRExtendedParameters.