Kofax Mobile SDK API Reference
Instance Methods | List of all members
<kfxCreditCardCaptureViewControllerDelegate> Protocol Reference

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

#import <kfxCreditCardCaptureViewController.h>

Inheritance diagram for <kfxCreditCardCaptureViewControllerDelegate>:
<kfxCaptureViewControllerDelegate>

Instance Methods

(void) - creditCardCaptureViewController:didExtractCreditCard:error:
 Tells the delegate that the credit card 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 kfxCreditCardCaptureViewController.

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

See also
kfxCaptureViewControllerDelegate

Method Documentation

- (void) creditCardCaptureViewController: (kfxCreditCardCaptureViewController *)  creditCardCaptureViewController
didExtractCreditCard: (kfxCreditCardData *)  creditCard
error: (NSError *)  error 
optional

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

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

Implementation of this method is optional, but expected.

Parameters
creditCardCaptureViewControllerThe credit card capture view controller dispatching the message.
creditCardThe result credit card data. Could be a nil if error is occured.
errorIf an internal error occurs, contains an NSError object that describes the problem.
See also
kfxCreditCardData

The documentation for this protocol was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.