Table of contents
Swift
Objective-C

QRCodeDetails

The QRCodeDetails class represents the details of a QR Code. It is derived from the BarcodeDetails class and contains various attributes related to the QR Code.

Definition

Package: com.dynamsoft.dbr

Inheritance: BarcodeDetails -> QRCodeDetails

public class QRCodeDetails extends BarcodeDetails

Attributes

Attribute Type Description
rows int The row count of the QR Code.
columns int The column count of the QR Code.
errorCorrectionLevel int The error correction level of the QR Code.
version int The version of the QR Code.
model int Number of models of the QR Code.
mode int The first data encoding mode of the QR Code.
page int The position of the particular symbol in the Structured Append format of the QR Code.
totalPage int The total number of symbols to be concatenated in the Structured Append format of the QR Code.
parityData byte The Parity Data following the Symbol Sequence Indicator.
dataMaskPattern int The data mask pattern reference for QR Code symbols.
codewords byte[] The codewords of the QR Code.

Constructors

Constructor Description
QRCodeDetails() Default constructor.
QRCodeDetails(int rows, int columns, int errorCorrectionLevel, int version, int model, int mode, int page, int totalPage, int parityData) Constructor with parameters.

Attribute Details

rows

The row count of the QR Code.

public int rows

columns

The column count of the QR Code.

public int columns

errorCorrectionLevel

The error correction level of the QR Code.

public @EnumQRCodeErrorCorrectionLevel int errorCorrectionLevel

It is a value of the EnumQRCodeErrorCorrectionLevel enumeration.

See Also

EnumQRCodeErrorCorrectionLevel

version

The version of the QR Code.

public int version

model

Number of models of the QR Code.

public int model

mode

The first data encoding mode of the QR Code.

public int mode

page

The position of the particular symbol in the Structured Append format of the QR Code.

public int page

totalPage

The total number of symbols to be concatenated in the Structured Append format of the QR Code.

public int totalPage

parityData

The Parity Data shall be an 8 bit byte following the Symbol Sequence Indicator. The parity data is a value obtained by XORing byte by byte the ASCII/JIS values of all the original input data before division into symbol blocks.

public byte parityData

dataMaskPattern

The data mask pattern reference for QR Code symbols.

public int dataMaskPattern

codewords

The codewords of the QR Code.

public byte[] codewords

Constructor Details

QRCodeDetails()

Default constructor. Initializes a new instance of the QRCodeDetails class with default values.

public QRCodeDetails()

QRCodeDetails(int rows, int columns, int errorCorrectionLevel, int version, int model, int mode, int page, int totalPage, int parityData)

Constructor with parameters. Initializes a new instance of the QRCodeDetails class with specified values.

public QRCodeDetails(int rows, int columns, int errorCorrectionLevel, int version, int model, int mode, int page, int totalPage, int parityData)

Parameters

rows: The row count of the QR Code.

columns: The column count of the QR Code.

errorCorrectionLevel: The error correction level of the QR Code.

version: The version of the QR Code.

model: Number of models of the QR Code.

mode: The first data encoding mode of the QR Code.

page: The position of the particular symbol in the Structured Append format of the QR Code.

totalPage: The total number of symbols to be concatenated in the Structured Append format of the QR Code.

parityData: The Parity Data following the Symbol Sequence Indicator.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: