BarcodeFormat

Since: BlackBerry 10.0.0

#include <bb/cascades/multimedia/BarcodeFormat>

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

Represents formats that are 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.


Overview

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 that are supported by BarcodeDetector.

Since:

BlackBerry 10.0.0

QrCode 0x1

Represents a QR code.

DataMatrix 0x2

Represents a data matrix.

Since:

BlackBerry 10.0.0

UpcE 0x4

Represents a UPC-E code.

Since:

BlackBerry 10.0.0

UpcA 0x8

Represents a UPC-A code.

Since:

BlackBerry 10.0.0

Ean8 0x10

Represents an EAN-8 code.

Since:

BlackBerry 10.0.0

Ean13 0x20

Represents an EAN-13 code.

Since:

BlackBerry 10.0.0

Code128 0x40

Represents a Code 128 code.

Since:

BlackBerry 10.0.0

Code39 0x80

Represents a Code 93 code.

Since:

BlackBerry 10.0.0

Itf 0x100

Represents an ITF code.

Since:

BlackBerry 10.0.0

Aztec 0x200

Represents an Aztec format code.

Since:

BlackBerry 10.0.0

Any 0xffff

Allows BarcodeDetector to detect barcodes of any format that's known to it.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus