Table of contents
Swift
Objective-C

Enumeration QRCodeErrorCorrectionLevel

QRCodeErrorCorrectionLevel describes the error correction level when processing the QR code.

  • Objective-C
  • Swift
typedef NS_ENUM(NSInteger, DSQRCodeErrorCorrectionLevel)
{
   /**Error Correction Level H (high) */
   DSQRCodeErrorCorrectionLevelErrorCorrectionH = 0,
   /**Error Correction Level L (low) */
   DSQRCodeErrorCorrectionLevelErrorCorrectionL = 1,
   /**Error Correction Level M (medium-low) */
   DSQRCodeErrorCorrectionLevelErrorCorrectionM = 2,
   /**Error Correction Level Q (medium-high) */
   DSQRCodeErrorCorrectionLevelErrorCorrectionQ = 3
};
public enum QRCodeErrorCorrectionLevel : Int
{
   /**Error Correction Level H (high) */
   errorCorrectionH = 0
   /**Error Correction Level L (low) */
   errorCorrectionL = 1
   /**Error Correction Level M (medium-low) */
   errorCorrectionM = 2
   /**Error Correction Level Q (medium-high) */
   errorCorrectionQ = 3
}

This page is compatible for: