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

Inherits BaseJavaClass.

Public Member Functions

 getQRStructuredAppendModeBarCodesQuantity ()
 
 getQRStructuredAppendModeBarCodeIndex ()
 
 getQRStructuredAppendModeParityData ()
 
 getQRVersion ()
 
 getMicroQRVersion ()
 
 getRectMicroQRVersion ()
 
 getQRErrorLevel ()
 
 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.

◆ getMicroQRVersion()

QRExtendedParameters::getMicroQRVersion ( )

Version of recognized MicroQR Code. From M1 to M4.

Returns
Version of recognized MicroQR Code. From M1 to M4.

◆ getQRErrorLevel()

QRExtendedParameters::getQRErrorLevel ( )

Reed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.

Returns
Reed-Solomon error correction level of recognized barcode.

◆ 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.

◆ getQRVersion()

QRExtendedParameters::getQRVersion ( )

Version of recognized QR Code. From Version1 to Version40.

Returns
Version of recognized QR Code

◆ getRectMicroQRVersion()

QRExtendedParameters::getRectMicroQRVersion ( )

Version of recognized RectMicroQR Code. From R7x43 to R17x139.

Returns
Version of recognized RectMicroQR Code

◆ 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.