Deprecation warning

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

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. 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

SBSScanAreaSettings.h
Go to the documentation of this file.
1 //
2 // SBSScanAreaSettings.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Marco Biasini on 27/09/16.
6 // Copyright © 2016 Scandit AG. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <CoreGraphics/CoreGraphics.h>
11 
12 #import "SBSCommon.h"
13 
41 
65 @interface SBSScanAreaSettings : NSObject
66 
67 
73 +(instancetype)defaultPortraitSettings;
74 
75 
81 +(instancetype)defaultLandscapeSettings;
82 
90 @property (assign, nonatomic) CGRect searchArea;
91 
97 @property (assign, nonatomic) CGRect wideCodesLocationArea;
98 
105 
111 @property (assign, nonatomic) CGRect squareCodesLocationArea;
112 
119 
120 
121 @end
Decoding is restricted to this area.
Definition: SBSScanAreaSettings.h:30
instancetype defaultPortraitSettings()
Returns a new instance with default settings for portrait scanning.
CGRect squareCodesLocationArea
Code location area for square codes.
Definition: SBSScanAreaSettings.h:111
#define SBS_ENUM_END(name)
Definition: SBSCommon.h:17
CGRect wideCodesLocationArea
Code location area for wide codes.
Definition: SBSScanAreaSettings.h:97
SBSCodeLocationConstraint wideCodesLocationConstraint
Code location constraint for wide codes.
Definition: SBSScanAreaSettings.h:104
CGRect searchArea
The area in which codes are searched.
Definition: SBSScanAreaSettings.h:90
instancetype defaultLandscapeSettings()
Returns a new instance with default settings for landscape scanning.
Scanning area settings control where codes are to be searched in images/frames.
Definition: SBSScanAreaSettings.h:65
SBSCodeLocationConstraint
Code location constraint.
Definition: SBSScanAreaSettings.h:22
The code location area is a hint.
Definition: SBSScanAreaSettings.h:39
SBSCodeLocationConstraint squareCodesLocationConstraint
Code location constraint for square codes.
Definition: SBSScanAreaSettings.h:118
#define SBS_ENUM_BEGIN(name)
Definition: SBSCommon.h:16