IKScannerDeviceViewDelegate protocol defines the delegate protocol that the
IKScannerDeviceView delegate must conform to.
Invoked when the scan has completed and the data is available.
The scanner device that sent the message.
The URL to save the data.
The data from the scan.
Any error encountered during the scan.
This method is called when the scan has completed..
IKScannerDeviceViewTransferModeFileBased, the scan will have been saved at the specified
url. The URL will be in the download directory and be a complete path, including a ‘sequence number’ if the file already exists.
In case of an error, the parameters (
data) will be
error(which may come directly from the scanner module / or the ImageCaptureCore framework) will describe why the scan or save failed.