Atalasoft MobileImage API Reference
|
This protocol defines methods that your delegate object should implement to interact with kfxPassportCaptureViewController. More...
#import <kfxPassportCaptureViewController.h>
Instance Methods | |
(void) | - passportCaptureViewController:didExtractPassport:error: |
Tells the delegate that the passport 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... | |
This protocol defines methods that your delegate object should implement to interact with kfxPassportCaptureViewController.
The methods of this protocol notify your delegate with various messages related to passport capture.
|
optional |
Tells the delegate that the passport capture is finished and result data is available.
The methods gets called once when passport capture has finished and provides the passport data depending on the specified parameters. Your delegate's implementation of this method should dismiss the passport capture view controller.
Implementation of this method is optional, but expected.
passportCaptureViewController | The passport capture view controller dispatching the message. |
passport | The result passport data. Could be a nil if error is occured. |
error | An 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. |