ImageSourceErrorListener
The ImageSourceErrorListener
protocol defines methods for monitoring the errors that occur in the ImageSourceAdapter
.
Definition
Assembly: DynamsoftCore.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 *_Nullable error)imageSourceError;
func onErrorReceived(_ error: Error)
Parameters
error
: An NSError containing the error code and error message providing the information about the error.