type

Returns supported BarcodeType or BarcodeType.UNSUPPORTED otherwise.