MBPBarcodeRecognizerResult
Objective-C
@interface MBPBarcodeRecognizerResult : MBPRecognizerResult <NSCopying>
Swift
class MBPBarcodeRecognizerResult : MBPRecognizerResult, NSCopying
Result of MBPBarcodeRecognizer; is used for scanning most of 1D barcode formats, and 2D format
-
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 MBPBarcodeType enum value.
Declaration
Objective-C
+ (NSString *_Nonnull)toTypeName:(MBPBarcodeType)type;Swift
class func toTypeName(_ type: MBPBarcodeType) -> StringParameters
typeMBPBarcodeType enum value
Return Value
String representation of a given MBPBarcodeType enum value.
-
Type of the barcode scanned
Declaration
Objective-C
@property (nonatomic, readonly) MBPBarcodeType barcodeType;Swift
var barcodeType: MBPBarcodeType { get }Return Value
Type of the barcode
View on GitHub