Barcode AR Session
Defined in package com.scandit.datacapture.barcode.ar.capture
- BarcodeArSession
class BarcodeArSessionAdded in version 7.1.0
The Barcode AR session holds the ongoing state of a running BarcodeAr.
- addedTrackedBarcodes
val addedTrackedBarcodes: List<TrackedBarcode>
Added in version 7.1.0
Newly tracked barcodes.
- removedTrackedBarcodes
val removedTrackedBarcodes: List<Int>
Added in version 7.1.0
An array of identifiers of lost barcodes that were removed in the last frame.
- trackedBarcodes
val trackedBarcodes: Map<Int, TrackedBarcode>
Added in version 7.1.0
A map from identifiers to barcodes. It contains all currently tracked barcodes.
- reset()
fun reset()Added in version 7.1.0
Resets the session, clearing all barcodes and their states.
- toJson()
fun toJson(): String
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.