Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for iOS

ScanditSDKOverlayController.h
Go to the documentation of this file.
1 
16 #import <UIKit/UIKit.h>
17 #import "AudioToolbox/AudioServices.h"
18 #import "SBSOverlayController.h"
19 
20 @class ScanditSDKUIView;
23 
51 - (void)scanditSDKOverlayController:(ScanditSDKOverlayController *)overlayController
52  didScanBarcode:(NSDictionary *)barcode SBS_DEPRECATED;
62 - (void)scanditSDKOverlayController:(ScanditSDKOverlayController *)overlayController
63  didCancelWithStatus:(NSDictionary *)status;
64 
65 
74 - (void)scanditSDKOverlayController:(ScanditSDKOverlayController *)overlayController
75  didManualSearch:(NSString *)text;
76 @end
77 
78 
96 
107 @property (nonatomic, weak) id<ScanditSDKOverlayControllerDelegate> delegate;
108 
114 @property (nonatomic, strong, readonly) UISearchBar *manualSearchBar;
115 
116 
120 
141 - (BOOL)setTorchOnImageResource:(NSString *)fileName
142  ofType:(NSString *)extension SBS_DEPRECATED;
143 
144 
162 - (void)setTorchButtonRelativeX:(float)x
163  relativeY:(float)y
164  width:(float)width
165  height:(float)height SBS_DEPRECATED;
167 
168 
172 
191 - (BOOL)setCameraSwitchImageResource:(NSString *)fileName
192  ofType:(NSString *)extension SBS_DEPRECATED;
193 
212 - (void)setCameraSwitchButtonRelativeInverseX:(float)x
213  relativeY:(float)y
214  width:(float)width
215  height:(float)height SBS_DEPRECATED;
217 
218 
222 
240 - (void)setViewfinderHeight:(float)h width:(float)w SBS_DEPRECATED;
241 
242 
244 
245 
249 
267 - (void)setLogoXOffset:(int)xOffset
268  yOffset:(int)yOffset
269  landscapeXOffset:(int)landscapeXOffset
270  landscapeYOffset:(int)landscapeYOffset SBS_DEPRECATED;
271 
286 - (void)setInfoBannerOffset:(int)offset SBS_DEPRECATED;
287 
303 - (BOOL)setBannerImageWithResource:(NSString *)fileName ofType:(NSString *)extension;
305 
309 
318 - (void)showSearchBar:(BOOL)show;
319 
329 - (void)setSearchBarActionButtonCaption:(NSString *)caption;
330 
342 - (void)setSearchBarCancelButtonCaption:(NSString *)caption SBS_DEPRECATED;
343 
353 - (void)setSearchBarPlaceholderText:(NSString *)text;
354 
364 - (void)setSearchBarKeyboardType:(UIKeyboardType)keyboardType;
365 
375 - (void)setMinSearchBarBarcodeLength:(NSInteger)length;
376 
386 - (void)setMaxSearchBarBarcodeLength:(NSInteger)length;
388 
389 
393 
406 - (void)showMostLikelyBarcodeUIElement:(BOOL)show SBS_DEPRECATED;
407 
416 - (void)setTextForInitialScanScreenState:(NSString *)text SBS_DEPRECATED;
417 
426 - (void)setTextForBarcodePresenceDetected:(NSString *)text SBS_DEPRECATED;
427 
435 - (void)setTextForBarcodeDecodingInProgress:(NSString *)text SBS_DEPRECATED;
436 
444 - (void)setTextWhenNoBarcodeWasRecognized:(NSString *)text SBS_DEPRECATED;
445 
454 - (void)setTextToSuggestManualEntry:(NSString *)text SBS_DEPRECATED;
455 
467 - (void)setTextForMostLikelyBarcodeUIElement:(NSString *)text SBS_DEPRECATED;
468 
481 - (void)setViewfinderFontSize:(float)fontSize SBS_DEPRECATED;
482 
494 - (void)setUIFont:(NSString *)font SBS_DEPRECATED;
495 
505 - (void)drawStaticViewfinder:(BOOL)draw SBS_DEPRECATED;
506 
514 - (void)drawViewfinderTextHook:(BOOL)draw SBS_DEPRECATED;
515 
523 - (void)setScanFlashEnabled:(BOOL)enabled SBS_DEPRECATED;
524 
526 
527 @end
UISearchBar * manualSearchBar
The manual search bar that can be shown at the top of the scan sreen.
Definition: ScanditSDKOverlayController.h:114
controls the scan screen user interface.
Definition: SBSOverlayController.h:89
protocol to handle barcode scan, cancel and manual search events.
Definition: ScanditSDKOverlayController.h:30
id< ScanditSDKOverlayControllerDelegate > delegate
The overlay controller delegate that handles callbacks such as didScanBarcode or didCancelWithStatus...
Definition: ScanditSDKOverlayController.h:107
controls the scan screen user interface.
Definition: ScanditSDKOverlayController.h:95
#define SBS_DEPRECATED
Definition: SBSCommon.h:9
Acquires camera frames, decodes barcodes in those camera frames and updates the ScanditSDKOverlayCont...
Definition: ScanditSDKBarcodePicker.h:81