SBSDKBarcodeAdditionalParameters

@interface SBSDKBarcodeAdditionalParameters : NSObject

A class that contains additional parameters for barcodes detection and filtering.

  • Defines how GS1-formatted barcodes are handled.

    Defaults to SBSDKGS1HandlingParse.

    Declaration

    Objective-C

    @property (nonatomic) SBSDKGS1Handling gs1Handling;

    Swift

    var gs1Handling: SBSDKGS1Handling { 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 to SBSDKBarcodeDensityLow, the default value, otherwise.

    Declaration

    Objective-C

    @property (nonatomic) SBSDKBarcodeDensity codeDensity;

    Swift

    var codeDensity: SBSDKBarcodeDensity { get set }