Dev Center
Swift
Objective-C
Table of contents

DSQRCodeDetails

DSQRCodeDetails extends the DSBarcodeDetails class and represents detailed information specific to a QR Code.

Definition

Assembly: DynamsoftBarcodeReader.xcframework

  • Objective-C
  • Swift
  1. NS_SWIFT_NAME(QRCodeDetails)
    @interface DSQRCodeDetails : DSBarcodeDetails
    
  2. class QRCodeDetails : BarcodeDetails
    

Attributes

Attributes Type Description
rows NSInteger The number of rows in the QR Code.
columns NSInteger The number of columns in the QR Code.
errorCorrectionLevel DSQRCodeErrorCorrectionLevel The error correction level of the QR Code.
version NSInteger The version of the QR Code.
model NSInteger The number of models of the QR Code.
mode NSInteger Identifies the first data encoding mode of the QR Code.
page NSInteger Identifies the position of the particular symbol in the structured append format of the QR Code.
totalPage NSInteger The total number of symbols to be concatenated into the Structured Append format of the QR Code.
parityData Byte The Parity Data of the QR Code.
dataMaskPattern NSInteger The data mask pattern reference for QR Code symbols.
codewords NSData * The codewords of the QR Code.

rows

The number of rows in the QR Code.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger rows;
    
  2. var rows: Int { get }
    

columns

The number of columns in the QR Code.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger columns;
    
  2. var columns: Int { get }
    

errorCorrectionLevel

Describes the error correction level of the QR Code as a DSQRCodeErrorCorrectionLevel enumeration item.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) DSQRCodeErrorCorrectionLevel errorCorrectionLevel;
    
  2. var errorCorrectionLevel: QRCodeErrorCorrectionLevel { get }
    

version

The version of the QR Code.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger version;
    
  2. var version: Int { get }
    

model

The number of models of the QR Code.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger model;
    
  2. var model: Int { get }
    

mode

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

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger mode;
    
  2. var mode: Int { get }
    

page

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

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger page;
    
  2. var page: Int { get }
    

totalPage

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

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger totalPage;
    
  2. var totalPage: Int { get }
    

parityData

The parity data is obtained by XORing a byte with the ASCII/JIS values of all the original input data before division into symbol blocks. It is used for error checking and correction.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) Byte parityData;
    
  2. var parityData: Int { get }
    

dataMaskPattern

The data mask pattern reference for QR Code symbols.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) NSInteger dataMaskPattern;
    
  2. var dataMaskPattern: Int { get }
    

codewords

The codewords of the QR Code.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, retain) NSData *codewords;
    
  2. var codewords: Data? { get }
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.1100
    • Version 10.2.1101
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
    • Version 7.6.0
    • Version 7.5.0
  • Documentation Homepage
Change +