DBRErrorDelegate
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. |
errorCallback
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).