valueType property

BarcodeValueType valueType
final

The format type of the barcode value.

For example, BarcodeValueType.text, BarcodeValueType.product, BarcodeValueType.url, etc.

If the value structure cannot be parsed, BarcodeValueType.text will be returned. If the recognized structure type is not defined in your current version of SDK, BarcodeValueType.unknown will be returned.

Note that the built-in parsers only recognize a few popular value structures. For your specific use case, you might want to directly consume rawValue and implement your own parsing logic.

Implementation

final BarcodeValueType valueType;