layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | noTitleIndex | ignore | permalink |
---|---|---|---|---|---|---|---|---|
default-layout |
DBRErrorDelegate - Dynamsoft Barcode Reader iOS API Reference |
This page shows DBRErrorDelegate protocol of Dynamsoft Barcode Reader for iOS SDK. |
DBRErrorDelegate, api reference, iOS |
true |
false |
true |
true |
/programming/objectivec-swift/api-reference/protocol-dbrerrordelegate.html |
Represents the method to handle the error code returned by the library when using frame decoding.
Note:
DBRErrorDelegate
is deprecated in 9.0 version.
@protocol DBRErrorDelegate <NSObject>
Method | Type | Description |
---|---|---|
errorCallback |
required | The method for users to add code for using error code. |
The method for users to add code for using error code.
@required
- (void)errorCallback:(NSInteger)frameId errorCode:(NSInteger)errorCode userData: (NSObject* _Nullable)userData;
Parameters
frameID
: The ID of the frame.
errorCode
: Error Code generated when decoding the frame.
userData
: Arguments to pass to your function(s).