BarcodeFormat

#include <bb/cascades/multimedia/BarcodeFormat>

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

Formats supported by BarcodeDetector.

Formats can be combined to allow BarcodeDetector to search for multiple formats at the same time.

BarcodeDetector can be configured to search for barcodes of any formats it supports using Any.

Since:

BlackBerry 10.0.0

Public Types Index

enum Type

QrCode = 0x1, DataMatrix = 0x2, UpcE = 0x4, UpcA = 0x8, Ean8 = 0x10, Ean13 = 0x20, Code128 = 0x40, Code39 = 0x80, Itf = 0x100, Aztec = 0x200, Any = 0xffff

Public Types

Type

Formats supported by BarcodeDetector.

Since:

BlackBerry 10.0.0

QrCode = 0x1

QR Code.

DataMatrix = 0x2

Data Matrix.

UpcE = 0x4

UPC-E.

UpcA = 0x8

UPC-A.

Ean8 = 0x10

EAN-8.

Ean13 = 0x20

EAN-13.

Code128 = 0x40

Code 128.

Code39 = 0x80

Code 93.

Itf = 0x100

ITF.

Aztec = 0x200

Aztec.

Any = 0xffff

Set the BarcodeDetector formats property to this value to detect barcodes of any format known to BarcodeDetector.