Aspose.Barcode for PHP via Java Generation and Recognition API docs

Inherits BaseJavaClass.

Public Member Functions

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

Static Public Member Functions

static op_Equality (QRExtendedParameters $first, QRExtendedParameters $second)
 
static op_Inequality (QRExtendedParameters $first, QRExtendedParameters $second)
 

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.

◆ op_Equality()

static op_Equality ( QRExtendedParameters  $first,
QRExtendedParameters  $second 
)
static

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

Parameters
firstA first compared value
secondA second compared value
Returns
true if first has the same value as second; otherwise, false.

◆ op_Inequality()

static op_Inequality ( QRExtendedParameters  $first,
QRExtendedParameters  $second 
)
static

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

Parameters
firstA first compared value
secondA second compared value
Returns
true if first has the different value from second; otherwise, false.

◆ toString()

toString ( )

Returns a human-readable string representation of this QRExtendedParameters.

Returns
A string that represents this QRExtendedParameters.