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

Inherits BaseJavaClass.

Public Member Functions

 getQRStructuredAppendModeBarCodesQuantity ()
 
 getQRStructuredAppendModeBarCodeIndex ()
 
 getQRStructuredAppendModeParityData ()
 
 isEmpty ()
 
 equals (QRExtendedParameters $obj)
 
 hashCode ()
 
 toString ()
 
- Public Member Functions inherited from BaseJavaClass
 __construct ($javaClass)
 
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

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()

QRExtendedParameters::equals ( QRExtendedParameters  $obj)

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

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

◆ getQRStructuredAppendModeBarCodeIndex()

QRExtendedParameters::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()

QRExtendedParameters::getQRStructuredAppendModeBarCodesQuantity ( )

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

◆ getQRStructuredAppendModeParityData()

QRExtendedParameters::getQRStructuredAppendModeParityData ( )

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

◆ hashCode()

QRExtendedParameters::hashCode ( )

Returns the hash code for this instance.

Returns
int A 32-bit signed integer hash code.

◆ init()

QRExtendedParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ isEmpty()

QRExtendedParameters::isEmpty ( )

◆ toString()

QRExtendedParameters::toString ( )

Returns a human-readable string representation of this QRExtendedParameters.

Returns
string A string that represents this QRExtendedParameters.