Barcode Ar Session

Defined in library scandit_datacapture_barcode_ar

BarcodeArSession
class BarcodeArSession

Added in version 7.1.0

The BarcodeAr session holds the ongoing state of a running BarcodeAr.

addedTrackedBarcodes
List<TrackedBarcode> get addedTrackedBarcodes

Added in version 7.1.0

Newly tracked barcodes.

removedTrackedBarcodes
List<int> get removedTrackedBarcodes

Added in version 7.1.0

An array of identifiers of lost barcodes that were removed in the last frame.

trackedBarcodes
Map<int, TrackedBarcode> get trackedBarcodes

Added in version 7.1.0

A map from identifiers to barcodes. It contains all currently tracked barcodes.

reset()
Future<void> reset()

Added in version 7.1.0

Resets the session, clearing all barcodes and their states.

Note

This class cannot be instantiated directly. Use the appropriate methods in BarcodeAr to obtain instances of this class.