SBSDKBarCodeScannerDocumentFormat
@interface SBSDKBarCodeScannerDocumentFormat : NSObject
Base class for describing recognized and parsed barcode information.
-
Indicates, whether parsing was successful.
Declaration
Objective-C
@property (nonatomic) BOOL parsedSuccessful;
Swift
var parsedSuccessful: Bool { get set }
-
The type of the barcode document.
Declaration
Objective-C
@property (nonatomic, readonly) SBSDKBarcodeDocumentType *_Nonnull type;
Swift
var type: SBSDKBarcodeDocumentType { get }
-
Initializer
Declaration
Objective-C
- (nonnull instancetype)initWithString:(nonnull NSString *)rawString;
Swift
init(string rawString: String)