SBSBarcodePickerManager.h
Go to the documentation of this file.
1 //
2 // SBSBarcodePickerManager.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Moritz Hartmeier on 05/06/15.
6 // Copyright (c) 2015 Scandit AG. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 #import "SBSBarcodePicker.h"
12 
13 
34 @interface SBSBarcodePickerManager : NSObject
35 
46 @property (nonatomic, assign) NSTimeInterval timeToDeallocAfterNoNeed;
47 
60 @property (nonatomic, assign) NSTimeInterval timeToDeallocAfterAction;
61 
62 + (nonnull instancetype)manager;
63 
74 - (void)registerNeedByObject:(nonnull id)anObject;
75 
87 - (void)unregisterNeedByObject:(nonnull id)anObject;
88 
103 - (void)requestPickerForObject:(nonnull id)anObject
104  withScanSettings:(nonnull SBSScanSettings *)settings
105  successBlock:(nullable void(^)(SBSBarcodePicker * _Nonnull picker))requestBlock;
106 
120 - (void)releasePickerForObject:(nonnull id)anObject;
121 
133 - (void)freezePickerForObject:(nonnull id)anObject;
134 
144 - (void)unfreezePickerForObject:(nonnull id)anObject;
145 
146 @end
147 
NSTimeInterval timeToDeallocAfterNoNeed
Definition: SBSBarcodePickerManager.h:46
Controls the camera and orchestrates the barcode scanning process.
Definition: SBSBarcodePicker.h:145
NSTimeInterval timeToDeallocAfterAction
Definition: SBSBarcodePickerManager.h:60
nonnull instancetype manager()
Holds settings that affect the recognition of barcodes, such as enabled barcode symbologies, scanning hot spot etc.
Definition: SBSScanSettings.h:29
Manages a barcode picker instance, allocating and releasing it dependent on need. ...
Definition: SBSBarcodePickerManager.h:34