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

Defines the delegate methods for Credit Card capture. More...

#import <KFXCreditCardCapturedDelegate.h>

Inheritance diagram for <KFXCreditCardCapturedDelegate>:

Instance Methods

(void) - cardExtractionFailed:
 
(void) - cardExtracted::
 
(void) - cardCaptured:
 

Detailed Description

Defines the delegate methods for Credit Card capture.

This protocol defines delegate methods a calling view controller can implement to receive asynchronous notifications of successful extraction, or failure, of a credit card.

Method Documentation

- (void) cardCaptured: (id)  image
optional

This is reserved for future use with non-embossed cards, if ExtractionServerUrl of the KFXCreditCardCaptureView is empty.

Parameters
[in]imageFor future use with non-embossed cards, this will be a kfxKEDImage of the captured card.
- (void) cardExtracted: (id)  andCreditCard
: (KFXCreditCard *)  creditCardData 
required

This is called when extraction succeeds.

Parameters
[in]imageFor embossed cards, this will be nil. For future use with non-embossed cards, this will be a kfxKEDImage of the captured card.
[in]creditCardDataThe returned data from extraction.
- (void) cardExtractionFailed: (int)  failureReason
required

This is called if the card fails to extract.

Parameters
[in]failureReasonAn error code. Call [kfxError findErrMsg:failureReason] to get a displayable error message.

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.