Barcode Ar Session

Defined in framework ScanditBarcodeCapture

SDCBarcodeArSession
@interface SDCBarcodeArSession : NSObject

Added in version 7.1.0

The BarcodeAr session holds the ongoing state of a running SDCBarcodeAr.

addedTrackedBarcodes
@property (nonatomic, strong, readonly) NSArray<SDCTrackedBarcode *> *addedTrackedBarcodes

Added in version 7.1.0

Newly tracked barcodes.

removedTrackedBarcodes
@property (nonatomic, strong, readonly) NSArray<NSNumber *> *removedTrackedBarcodes

Added in version 7.1.0

An array of identifiers of lost barcodes that were removed in the last frame.

trackedBarcodes
@property (nonatomic, strong, readonly) NSDictionary<NSNumber *, SDCTrackedBarcode *> *trackedBarcodes

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.

JSONString
@property (nonatomic, nonnull, readonly) NSString *JSONString

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 SDCBarcodeAr to obtain instances of this class.