MBIBarcodeRecognizerResult


@interface MBIBarcodeRecognizerResult : MBIRecognizerResult <NSCopying>

Result of MBIBarcodeRecognizer; is used for scanning most of 1D barcode formats, and 2D format such as Aztec, DataMatrix and QR code

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Byte array with result of the scan

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSData *rawData;

    Swift

    var rawData: Data? { get }
  • Retrieves string content of scanned data

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *stringData;

    Swift

    var stringData: String? { get }
  • Flag indicating uncertain scanning data E.g obtained from damaged barcode.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL uncertain;

    Swift

    var uncertain: Bool { get }
  • Method which gives string representation for a given MBIBarcodeType enum value.

    Declaration

    Objective-C

    + (NSString *_Nonnull)toTypeName:(MBIBarcodeType)type;

    Swift

    class func toTypeName(_ type: MBIBarcodeType) -> String

    Parameters

    type

    MBIBarcodeType enum value

    Return Value

    String representation of a given MBIBarcodeType enum value.

  • Type of the barcode scanned

    Declaration

    Objective-C

    @property (nonatomic, readonly) MBIBarcodeType barcodeType;

    Swift

    var barcodeType: MBIBarcodeType { get }

    Return Value

    Type of the barcode