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 # define SBS_DEPRECATED_MSG_ATTRIBUTE(message)
22 #else
23 # define SBS_ENUM_BEGIN(name) typedef NS_ENUM(NSInteger, name)
24 # define SBS_ENUM_END(name)
25 # define SBS_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER
26 # if __has_attribute(swift_private)
27 # define SBS_NOT_AVAILABLE_IN_SWIFT __attribute__((swift_private))
28 # endif
29 # define SBS_SWIFT_NAME(method) NS_SWIFT_NAME(method)
30 # define SBS_DEPRECATED_MSG_ATTRIBUTE(message) DEPRECATED_MSG_ATTRIBUTE(message)
31 #endif
32 
34 
46 
48 
49 
56 
58 
59 
86 
88 
100 
107 
109 
110 
150 
151 
157 FOUNDATION_EXPORT NSString * const SBSErrorDomain;
158 
168 
@ ORIENTATION_LANDSCAPE
Definition: SBSCommon.h:54
@ SBSCameraFacingDirectionBack
Definition: SBSCommon.h:41
@ SBSGuiStyleLocationsOnly
Definition: SBSCommon.h:148
@ SBSMsiPlesseyChecksumTypeMod10
Definition: SBSCommon.h:96
@ SBSGuiStyleDefault
Definition: SBSCommon.h:121
@ LONG_RANGE
Definition: SBSCommon.h:80
SBSCameraFacingDirection
Definition: SBSCommon.h:40
FOUNDATION_EXPORT NSString *const SBSErrorDomain
Error domain for the ScanditBarcodeScanner framework.
Definition: SBSCommon.h:157
#define SBS_ENUM_BEGIN(name)
Definition: SBSCommon.h:16
@ CHECKSUM_MOD_10
Definition: SBSCommon.h:102
@ SBSGuiStyleLaser
Definition: SBSCommon.h:127
SBSOrientation
Definition: SBSCommon.h:50
#define SBS_ENUM_END(name)
Definition: SBSCommon.h:17
@ HIGH_DENSITY
Definition: SBSCommon.h:84
@ SBSOrientationPortrait
Definition: SBSCommon.h:51
@ SBSOrientationLandscape
Definition: SBSCommon.h:52
@ SBSWorkingRangeLong
Definition: SBSCommon.h:78
@ SBSMsiPlesseyChecksumTypeMod1010
Definition: SBSCommon.h:97
@ STANDARD_RANGE
Definition: SBSCommon.h:79
@ CHECKSUM_MOD_1110
Definition: SBSCommon.h:105
SBSGuiStyle
Enumeration of different GUI styles.
Definition: SBSCommon.h:116
@ SBSCameraFacingDirectionFront
Definition: SBSCommon.h:42
@ SBSMsiPlesseyChecksumTypeNone
Definition: SBSCommon.h:95
@ CHECKSUM_MOD_1010
Definition: SBSCommon.h:103
@ CAMERA_FACING_FRONT
Definition: SBSCommon.h:44
@ SBSWorkingRangeStandard
Definition: SBSCommon.h:72
#define SBS_DEPRECATED
Definition: SBSCommon.h:9
SBSMsiPlesseyChecksumType
Enumeration of different MSI Checksums.
Definition: SBSCommon.h:94
@ SBSGuiStyleNone
Definition: SBSCommon.h:135
@ ORIENTATION_PORTRAIT
Definition: SBSCommon.h:53
@ SBSErrorInvalidArgument
An invalid argument has been passed to a method/function.
Definition: SBSCommon.h:166
@ SBSGuiStyleMatrixScan
Definition: SBSCommon.h:142
@ SBSMsiPlesseyChecksumTypeMod1110
Definition: SBSCommon.h:99
@ CAMERA_FACING_BACK
Definition: SBSCommon.h:43
@ CHECKSUM_MOD_11
Definition: SBSCommon.h:104
#define SBS_NOT_AVAILABLE_IN_SWIFT
Definition: SBSCommon.h:19
SBSError
enumeration of various error codes
Definition: SBSCommon.h:162
@ SBSMsiPlesseyChecksumTypeMod11
Definition: SBSCommon.h:98
@ NONE
Definition: SBSCommon.h:101
SBSWorkingRange
Definition: SBSCommon.h:65