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

SBSCommon.h
Go to the documentation of this file.
1 // ScanditSDKCommon.h
2 // ScanditBarcodeScanner
3 //
4 // Created by Marco Biasini on 29/05/15.
5 // Copyright (c) 2015 Scandit AG. All rights reserved.
6 //
7 
8 
9 #define SBS_DEPRECATED __attribute__((deprecated))
10 
11 // we can't use NS_ENUM directly, but rather have to use a macro that gets replaced with
12 // the proper meaning when generating the documentation.
13 
15 #if defined(SBS_GENERATE_DOCS)
16 # define SBS_ENUM_BEGIN(name) typedef enum
17 # define SBS_ENUM_END(name) name
18 # define SBS_DESIGNATED_INITIALIZER
19 # define SBS_NOT_AVAILABLE_IN_SWIFT
20 # define SBS_SWIFT_NAME(method)
21 #else
22 # define SBS_ENUM_BEGIN(name) typedef NS_ENUM(NSInteger, name)
23 # define SBS_ENUM_END(name)
24 # define SBS_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER
25 # if __has_attribute(swift_private)
26 # define SBS_NOT_AVAILABLE_IN_SWIFT __attribute__((swift_private))
27 # endif
28 # if defined(SBS_SWIFT_NAME_DISABLED)
29 # define SBS_SWIFT_NAME(method)
30 # else
31 # define SBS_SWIFT_NAME(method) NS_SWIFT_NAME(method)
32 # endif
33 #endif
34 
36 
48 
50 
51 
58 
60 
61 
82  LONG_RANGE SBS_DEPRECATED SBS_NOT_AVAILABLE_IN_SWIFT = SBSWorkingRangeLong,
88 
90 
102 
109 
111 
112 
136 
137 
143 FOUNDATION_EXPORT NSString *SBSErrorDomain;
144 
154 
Definition: SBSCommon.h:103
Definition: SBSCommon.h:43
SBSError
enumeration of various error codes
Definition: SBSCommon.h:148
Definition: SBSCommon.h:106
SBSOrientation
Definition: SBSCommon.h:52
Definition: SBSCommon.h:134
Definition: SBSCommon.h:53
Definition: SBSCommon.h:81
Definition: SBSCommon.h:129
SBSCameraFacingDirection
Definition: SBSCommon.h:42
Definition: SBSCommon.h:98
Definition: SBSCommon.h:97
Definition: SBSCommon.h:54
#define SBS_ENUM_END(name)
Definition: SBSCommon.h:17
SBSGuiStyle
Enumeration of different GUI styles.
Definition: SBSCommon.h:118
Definition: SBSCommon.h:104
Definition: SBSCommon.h:99
Definition: SBSCommon.h:101
Definition: SBSCommon.h:123
Definition: SBSCommon.h:56
#define SBS_DEPRECATED
Definition: SBSCommon.h:9
Definition: SBSCommon.h:100
SBSMsiPlesseyChecksumType
Enumeration of different MSI Checksums.
Definition: SBSCommon.h:96
Definition: SBSCommon.h:46
FOUNDATION_EXPORT NSString * SBSErrorDomain
Error domain for the ScanditBarcodeScanner framework.
Definition: SBSCommon.h:143
#define SBS_NOT_AVAILABLE_IN_SWIFT
Definition: SBSCommon.h:19
Definition: SBSCommon.h:105
An invalid argument has been passed to a method/function.
Definition: SBSCommon.h:152
SBSWorkingRange
Definition: SBSCommon.h:67
Definition: SBSCommon.h:44
Definition: SBSCommon.h:82
Definition: SBSCommon.h:86
Definition: SBSCommon.h:80
Definition: SBSCommon.h:74
Definition: SBSCommon.h:55
Definition: SBSCommon.h:45
Definition: SBSCommon.h:107
#define SBS_ENUM_BEGIN(name)
Definition: SBSCommon.h:16