QrCodeErrorCorrection

Since: BlackBerry 10.0.0

#include <bb/cascades/multimedia/QrCodeErrorCorrection>

To link against this class, add the following line to your .pro file: LIBS += -lbbcascadesmultimedia

Provides error correction levels for QR codes, such as low, medium, and high.

The values in this class indicate what level of error correction should be encoded into the QR code. A higher error correction means that the resultant QR code is more likely to be scannable even when damaged. These levels correspond to the L/M/Q/H levels defined in the QR code specification.

For more information, see http://en.wikipedia.org/wiki/QR_code.


Overview

Public Types Index

enum Type

Low = 1, Medium = 2, Quality = 3, High = 4

Public Types

Type

An enumeration of possible error correction levels.

Since:

BlackBerry 10.0.0

Low = 1

Indicates low error correction, in which approximately 7% of codewords can be restored.

Since:

BlackBerry 10.0.0

Medium = 2

Indicates medium error correction, in which approximately 15% of codewords can be restored.

Since:

BlackBerry 10.0.0

Quality = 3

Indicates quality error correction, in which approximately 25% of codewords can be restored.

Since:

BlackBerry 10.0.0

High = 4

Indicates high error correction, in which approximately 30% of codewords can be restored.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus