Barcode Count Session Snapshot
Defined in framework ScanditBarcodeCapture
- BarcodeCountSessionSnapshot
open class BarcodeCountSessionSnapshot : NSObject
Added in version 8.5.0
Immutable copy of a BarcodeCountSession captured at a specific point in time. Provided to button-tap delegate callbacks on BarcodeCountViewUIDelegate so the host app can inspect the session state on the main thread without violating the requirement that BarcodeCountSession only be accessed inside barcodeCount(_:didScanIn:frameData:).
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
open var recognizedBarcodes: Array<Barcode> { get }
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
open var additionalBarcodes: Array<Barcode> { get }
Added in version 8.5.0
The additional barcodes injected with BarcodeCount.setAdditionalBarcodes(_:) at the time of the snapshot.
- recognizedClusters
open var recognizedClusters: Array<Cluster> { get }
Added in version 8.5.0
A list containing the clusters that were recognized when the snapshot was taken.
- frameSequenceId
open var frameSequenceId:
Int{ get }Added in version 8.5.0
The identifier of the frame sequence at the time of the snapshot.