SBSFrame.h
Go to the documentation of this file.
1 //
2 // SBSFrame.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Luca Torella on 14.03.18.
6 // Copyright © 2018 Scandit. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <CoreMedia/CoreMedia.h>
11 
12 @class SBSTrackedCode;
13 @class SBSScanSession;
14 
15 NS_ASSUME_NONNULL_BEGIN
16 
28 @interface SBSFrame : NSObject
29 
34 @property (nonatomic, strong, readonly) NSSet<NSNumber *> *addedIdentifiers;
35 
40 @property (nonatomic, strong, readonly) NSSet<NSNumber *> *removedIdentifiers;
41 
46 @property (nonatomic, strong, readonly) NSSet<NSNumber *> *updatedIdentifiers;
47 
55 @property (nonatomic, strong, readonly) NSDictionary<NSNumber *, SBSTrackedCode *> *trackedCodes;
56 
61 @property (nonatomic, weak, nullable, readonly) SBSScanSession *scanSession;
62 
63 @end
64 
65 NS_ASSUME_NONNULL_END
NSSet< NSNumber * > * addedIdentifiers
A set of tracked barcodes' identifiers that have been added while processing this SBSFrame...
Definition: SBSFrame.h:34
Holds all barcodes that were decoded in the current session.
Definition: SBSScanSession.h:39
NSSet< NSNumber * > * removedIdentifiers
A set of tracked barcodes' identifiers that have been removed while processing this SBSFrame...
Definition: SBSFrame.h:40
NSDictionary< NSNumber *, SBSTrackedCode * > * trackedCodes
All tracked barcodes as a dictionary.
Definition: SBSFrame.h:55
NSSet< NSNumber * > * updatedIdentifiers
A set of tracked barcodes' identifiers that have been updated while processing this SBSFrame...
Definition: SBSFrame.h:46
An extended abstraction of a frame that is being processed by the SBSMatrixScanHandler.
Definition: SBSFrame.h:28
Represents a recognized/localized barcode/2D code that is being tracked over multiple frames...
Definition: SBSTrackedCode.h:18
SBSScanSession * scanSession
Current Scan Session.
Definition: SBSFrame.h:61