Barcode Ar Session
Defined in package com.scandit.datacapture.barcode.ar.capture
- BarcodeArSession
class BarcodeArSession
Added in version 7.1.0
The BarcodeAr session holds the ongoing state of a running BarcodeAr.
- addedTrackedBarcodes
@NonNull List<@NonNull TrackedBarcode> getAddedTrackedBarcodes()
Added in version 7.1.0
Newly tracked barcodes.
- removedTrackedBarcodes
@NonNull List<@NonNull Integer> getRemovedTrackedBarcodes()
Added in version 7.1.0
An array of identifiers of lost barcodes that were removed in the last frame.
- trackedBarcodes
@NonNull Map<@NonNull Integer, @NonNull TrackedBarcode> getTrackedBarcodes()
Added in version 7.1.0
A map from identifiers to barcodes. It contains all currently tracked barcodes.
- reset()
void
reset()Added in version 7.1.0
Resets the session, clearing all barcodes and their states.
- toJson()
@NonNull String toJson()
Added in version 7.1.0
Returns the JSON representation of the Barcode Ar session.
Note
This class cannot be instantiated directly. Use the appropriate methods in BarcodeAr to obtain instances of this class.