MBUsdlRecognizer


@interface MBUsdlRecognizer : MBRecognizer <NSCopying>

A recognizer that can scan USDL.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • USDL recognizer results

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) MBUsdlRecognizerResult *_Nonnull result;

    Swift

    var result: MBUsdlRecognizerResult { get }
  • Set this to YES to scan even barcode not compliant with standards For example, malformed USDL barcodes which were incorrectly encoded

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL scanUncertain;

    Swift

    var scanUncertain: Bool { get set }
  • Set this to YES to scan barcodes which don’t have quiet zone (white area) around it

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowNullQuietZone;

    Swift

    var allowNullQuietZone: Bool { get set }