ImageSourceErrorListener
The ImageSourceErrorListener protocol defines methods for monitoring the errors that occur in the ImageSourceAdapter.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@protocol DSImageSourceErrorListener <NSObject>protocol ImageSourceErrorListener: NSObjectProtocol
Methods
| Method | Description |
|---|---|
onErrorReceived |
The callback method for monitoring the errors that occur in the ImageSourceAdapter. |
onErrorReceived
The callback method for monitoring the errors that occur in the ImageSourceAdapter.
- Objective-C
- Swift
- (void)onErrorReceived:(NSError *)error;func onErrorReceived(_error: Error)
Parameters
error: An NSError containing the error code and error message providing the information about the error.