QrCodeErrorCorrection

#include <bb/cascades/multimedia/QrCodeErrorCorrection>

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

Error correction levels for QR codes.

Since:

BlackBerry 10.0.0

Public Types Index

enum Type

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

Public Types

Type

Error correction levels.

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 correspond to the L/M/Q/H levels defined in the QR Code spec. (see, for example, http://en.wikipedia.org/wiki/QR_code)

Since:

BlackBerry 10.0.0

Low = 1

7% of codewords can be restored

Medium = 2

15% of codewords can be restored

Quality = 3

25% of codewords can be restored

High = 4

30% of codewords can be restored