MBBBarcodeRecognizerResult
@interface MBBBarcodeRecognizerResult : MBBRecognizerResult <NSCopying>
Result of MBBBarcodeRecognizer; 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, assign, unsafe_unretained, readonly) BOOL uncertain;
Swift
var uncertain: Bool { get }
-
Method which gives string representation for a given MBBBarcodeType enum value.
Declaration
Objective-C
+ (NSString *_Nonnull)toTypeName:(MBBBarcodeType)type;
Swift
class func toTypeName(_ type: MBBBarcodeType) -> String
Parameters
type
MBBBarcodeType enum value
Return Value
String representation of a given MBBBarcodeType enum value.
-
Type of the barcode scanned
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readonly) MBBBarcodeType barcodeType;
Swift
var barcodeType: MBBBarcodeType { get }
Return Value
Type of the barcode