Atalasoft MobileImage API Reference
Instance Methods | List of all members
<kfxCheckCaptureViewControllerDelegate> Protocol Reference

This protocol defines methods that your delegate object should implement to interact with kfxCheckCaptureViewController. More...

#import <kfxCheckCaptureViewController.h>

Inheritance diagram for <kfxCheckCaptureViewControllerDelegate>:
<kfxCaptureViewControllerDelegate>

Instance Methods

(void) - checkCaptureViewController:didExtractCheck:error:
 Tells the delegate that the check capture is finished and result data is available. More...
 
- Instance Methods inherited from <kfxCaptureViewControllerDelegate>
(void) - captureViewControllerDidClose:
 Tells the delegate that the user is going to close capture view controller. More...
 

Detailed Description

This protocol defines methods that your delegate object should implement to interact with kfxCheckCaptureViewController.

The methods of this protocol notify your delegate with various messages related to check capture.

See also
kfxCaptureViewControllerDelegate

Method Documentation

- (void) checkCaptureViewController: (kfxCheckCaptureViewController *)  checkCaptureViewController
didExtractCheck: (kfxCheckData *)  check
error: (NSError *)  error 
optional

Tells the delegate that the check capture is finished and result data is available.

The methods get called once when check capture has finished and provides the check data depending on the specified parameters. Your delegate's implementation of this method should dismiss the check capture view controller.

Implementation of this method is optional, but expected.

The check's original image should be saved before the other side is captured, otherwise it will be deleted from the image storage.

Parameters
checkCaptureViewControllerThe check capture view controller dispatching the message.
checkThe result check data. Could be a nil if error is occured.
errorAn NSError object that describes the problem if an internal error occurs. In the case of a server extraction failure, the error's userInfo property will contain a "kfxInternalServerErrorInfo" field with the response from the server.
See also
kfxCheckData

The documentation for this protocol was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.