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

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

#import <kfxBillCaptureViewController.h>

Inheritance diagram for <kfxBillCaptureViewControllerDelegate>:
<kfxCaptureViewControllerDelegate>

Instance Methods

(void) - billCaptureViewController:didExtractBill:error:
 Tells the delegate that the bill 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 kfxBillCaptureViewController.

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

See also
kfxCaptureViewControllerDelegate

Method Documentation

- (void) billCaptureViewController: (kfxBillCaptureViewController *)  billCaptureViewController
didExtractBill: (kfxBillData *)  bill
error: (NSError *)  error 
optional

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

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

Implementation of this method is optional, but expected.

Parameters
billCaptureViewControllerThe bill capture view controller dispatching the message.
billThe result bill 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
kfxBillData

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.