SBSDKBarcodeAdditionalParameters
@interface SBSDKBarcodeAdditionalParameters : NSObject
A class that contains additional parameters for barcodes detection and filtering.
-
With this option, the scanner assumes that the barcode can be a GS1 barcode, and modify the behavior as needed. You can set it to NO, if you don’t want to see decoded FNC1 characters (“]C1” and ASCII char 29). The default is YES.
Declaration
Objective-C
@property (nonatomic) BOOL enableGS1Decoding;
Swift
var enableGS1Decoding: Bool { get set }
-
Minimum required text length of the detected barcode. The default is 0. NOTE: Currently works for ITF and MSI Plessey barcodes only!
Declaration
Objective-C
@property (nonatomic) NSUInteger minimumTextLength;
Swift
var minimumTextLength: UInt { get set }
-
Maximum text length of the detected barcode. Setting to zero removes the limit. The default is 0. NOTE: Currently works for ITF and MSI Plessey barcodes only!
Declaration
Objective-C
@property (nonatomic) NSUInteger maximumTextLength;
Swift
var maximumTextLength: UInt { get set }
-
Minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE: Currently works for ITF and MSI Plessey barcodes only!
Declaration
Objective-C
@property (nonatomic) NSUInteger minimum1DBarcodesQuietZone;
Swift
var minimum1DBarcodesQuietZone: UInt { get set }
-
The checksum algorithm for MSI Plessey barcodes. The default value is SBSDKBarcodeMSIPlesseyChecksumAlgorithmMod10.
Declaration
Objective-C
@property (nonatomic) SBSDKBarcodeMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm;
Swift
var msiPlesseyChecksumAlgorithm: SBSDKBarcodeMSIPlesseyChecksumAlgorithm { get set }
-
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is NO
Declaration
Objective-C
@property (nonatomic) BOOL stripCheckDigits;
Swift
var stripCheckDigits: Bool { get set }
-
The expected QR code density. Set to
SBSDKBarcodeDensityHigh
if you expect to find lots of QR codes in one image or video frame. Set toSBSDKBarcodeDensityLow
, the default value, otherwise.Declaration
Objective-C
@property (nonatomic) SBSDKBarcodeDensity codeDensity;
Swift
var codeDensity: SBSDKBarcodeDensity { get set }