BarcodeScanner Constants

The barcodeTypes constant is available as a property on an instance of BarcodeScanner.

An object enumerating the barcode symbologies supported by BarcodeScanner.

Barcode Symbology StandardBarcodeScanner Type (barcodeTypes)
Code 128CODE_128
Code 39CODE_39
Code 93CODE_93
Data MatrixDATA_MATRIX
EAN-13 / GTIN-13EAN_13
EAN-8 / GTIN-8EAN_8
Interleaved 2 of 5ITF
PDF417PDF_417
QR-CodeQR
UPC-A / GTIN-12UPC_A
UPC-E / GTIN-12UPC_E

Use the barcodeTypes constant when creating a BarcodeScannerOptions object. Call beginCapture(options) (Legacy) with that object to start a scanning session.