Barcode Count Session Snapshot
Defined in package com.scandit.datacapture.barcode.count.capture
- BarcodeCountSessionSnapshot
class BarcodeCountSessionSnapshotAdded in version 8.5.0
Immutable copy of a BarcodeCountSession captured at a specific point in time. Provided to button-tap delegate callbacks on BarcodeCountViewUiListener so the host app can inspect the session state on the main thread without violating the requirement that BarcodeCountSession only be accessed inside onScan().
The snapshot mirrors the public read-only state of the session at construction time. The SDK does not mutate the snapshot afterwards; subsequent scans do not affect any previously delivered snapshot.
- recognizedBarcodes
val recognizedBarcodes: List<Barcode>
Added in version 8.5.0
A list of the barcodes that were recognized when the snapshot was taken. This mirrors BarcodeCountSession.recognizedBarcodes semantics — both currently tracked and cleared barcodes are included.
- additionalBarcodes
val additionalBarcodes: List<Barcode>
Added in version 8.5.0
The additional barcodes injected with BarcodeCount.setAdditionalBarcodes() at the time of the snapshot.
- recognizedClusters
val recognizedClusters: List<Cluster>
Added in version 8.5.0
A list containing the clusters that were recognized when the snapshot was taken.
- frameSequenceId
val frameSequenceId:
LongAdded in version 8.5.0
The identifier of the frame sequence at the time of the snapshot.