MBUsdlRecognizerResult


@interface MBUsdlRecognizerResult : MBRecognizerResult <NSCopying>

A recognizer that can scan PDF417 2D barcodes.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Byte array with result of the scan

    Declaration

    Objective-C

    - (NSData *_Nullable)data;

    Swift

    func data() -> Data?
  • Flag indicating uncertain scanning data E.g obtained from damaged barcode.

    Declaration

    Objective-C

    - (BOOL)isUncertain;

    Swift

    func isUncertain() -> Bool
  • Returns a string value for a given key.

    Declaration

    Objective-C

    - (NSString *_Nullable)getField:(MBUsdlKeys)usdlKey;

    Swift

    func getField(_ usdlKey: MBUsdlKeys) -> String?

    Parameters

    usdlKey

    field key

    Return Value

    value for a given key

  • Array of elements that are not part of AAMVA standard and are specific to each US state. If no specific elements existed inside 2D barcode, this is an empty array. Otherwise, this array contains list of state-specific elements in the same order as given inside barcode. NOTE: Size of this array is both state-specific and barcode-specific. Each US state has ability to arbitrarily define size and contents of these elements. You can obtain the as a parameter.

    Declaration

    Objective-C

    - (NSArray<NSString *> *_Nullable)optionalElements;

    Swift

    func optionalElements() -> [String]?