type property

BarcodeType type
final

The contextual type of the format of the barcode.

For example: TYPE_TEXT, TYPE_PRODUCT, TYPE_URL, etc.

For types that are recognized, but could not be parsed correctly, BarcodeType.text will be returned.

For types that are not recognised, BarcodeType.unknown will be returned.

If a given barcode was not correctly identified, consider parsing rawValue manually instead.

Implementation

final BarcodeType type;