Barcode Check Session

Defined in framework ScanditBarcodeCapture

SDCBarcodeCheckSession
@interface SDCBarcodeCheckSession : NSObject

Added in version 7.1.0

The BarcodeCheck session holds the ongoing state of a running SDCBarcodeCheck.

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 Check session.

Note

This class cannot be instantiated directly. Use the appropriate methods in SDCBarcodeCheck to obtain instances of this class.