Barcode Scanner Result

barcodeResult is array that contains decoded (or undefined) barcodes

Syntax

barcodeResult = {
	[
		{
			bt: 2,
			type: "Code39",
			data: [ 52, 50, 57, ],
			points: [ {125,43}, {89,12}, {90,95}, {89,12} ],
			barcodeAtPoint: true,
		},

		{
			bt: 1,
			type: "Code128",
			data: [ 67, 43, 34, ],
			points: [ {125,43}, {89,12}, {90,95}, {89,12} ],
			barcodeAtPoint: false,
		},
	]
};
where
  • bt - barcode type, as numeric
  • type - barcode type, as string
  • data - byte array of decoded data (empty if barcode is unrecognized)
  • points - barcode corner coordinates
  • barcodeAtPoint - if ScannerSettings.scanner.barcodeAtPoint is false then always true