Table of contents
Swift
Objective-C

QRCodeDetails

QRCodeDetails extends the BarcodeDetails class and represents detailed information specific to a QR Code.

Definition

Assembly: DynamsoftBarcodeReader.aar

Namespace: com.dynamsoft.dbr

class QRCodeDetails extends BarcodeDetails

Methods

Method Description
QRCodeDetails The constructor. Initializes a new instance of the QRCodeDetails class.
getRows Returns the number of rows in the QR Code.
getColumns Returns the number of columns in the QR Code.
getErrorCorrectionLevel Returns the error correction level of the QR Code.
getVersion Returns the version of the QR Code.
getModel Returns the number of models of the QR Code.
getMode Returns the first data encoding mode of the QR Code.
getPage Returns the position of the particular symbol in the structured append format of the QR Code.
getTotalPage Returns the total number of symbols to be concatenated int the structured append format of the QR Code.
getParityData Returns the Parity Data of the QR Code.
getDataMaskPattern  
getCodewords  

QRCodeDetails

The constructor. Initializes a new instance of the QRCodeDetails class.

QRCodeDetails()

getRows

Returns the number of rows in the QR Code.

int getRows()

Return Value

An integer representing the row count of the QR Code.

getColumns

Returns the number of columns in the QR Code.

int getColumns()

Return Value

An integer representing the column count of the QR Code.

getErrorCorrectionLevel

Returns the error correction level of the QR Code as a QRCodeErrorCorrectionLevel enumeration item.

int getErrorCorrectionLevel()

Return Value

An integer representing the error correction level of the QR Code.

getVersion

Returns the version of the QR Code.

int getVersion()

Return Value

An integer representing the version of the QR Code.

getModel

Returns the number of models of the QR Code.

int getModel()

Return Value

An integer representing the number of models of the QR Code.

getMode

Returns the first data encoding mode used in the QR Code.

int getMode()

Return Value

An integer representing the first data encoding mode of the QR Code.

getPage

Returns the position of the particular symbol in the structured append format of the QR Code.

int getPage()

Return Value

An integer representing the position of the particular symbol in the Structured Append format of the QR Code.

getTotalPage

Returns the total number of symbols to be concatenated into the Structured Append format of the QR Code.

int getTotalPage()

Return Value

An integer representing the total number of symbols to be concatenated into the Structured Append format of the QR Code.

getParityData

Returns the parity data which is obtained by XORing a byte with the ASCII/JIS values of all the original input data before division into symbol blocks.

byte getParityData()

Return Value

A Byte object representing the parity data of the QR Code.

getDataMaskPattern

Gets the data mask pattern reference for QR Code symbols.

int getDataMaskPattern();

Return Value

The data mask pattern reference for QR Code symbols, of type int.

getCodewords

Gets the codewords of the QR Code.

byte[] getCodewords();

Return Value

The codewords of the QR Code, of type byte[].

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: