Barcode AR Session
Defined in framework ScanditBarcodeCapture
- BarcodeArSession
open class BarcodeArSession : NSObject
Added in version 7.1.0
The Barcode AR session holds the ongoing state of a running BarcodeAr.
- addedTrackedBarcodes
open var addedTrackedBarcodes: Array<TrackedBarcode> { get }
Added in version 7.1.0
Newly tracked barcodes.
- removedTrackedBarcodes
var removedTrackedBarcodes: Array<
Int> { get }Added in version 7.1.0
An array of identifiers of lost barcodes that were removed in the last frame.
- trackedBarcodes
var trackedBarcodes: Dictionary<
Int, TrackedBarcode> { get }Added in version 7.1.0
A map from identifiers to barcodes. It contains all currently tracked barcodes.
- reset
open func reset() ->
VoidAdded in version 7.1.0
Resets the session, clearing all barcodes and their states.
- jsonString
open var jsonString: String { get }
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.