Kofax Mobile SDK API Reference
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
CreditCardWorkflowActivity Class Reference
Inheritance diagram for CreditCardWorkflowActivity:
WorkflowActivity< T extends IParameters >

Public Member Functions

Class<?extends Activity > getCaptureActivityClass ()
 
Class<?extends Activity > getExtractActivityClass ()
 
String getDefaultProcessingString (CreditCardParameters parameters)
 
CaptureData getDefaultReturnObject ()
 
String getParametersKey ()
 
String getResultKey ()
 
String getExceptionKey ()
 
CreditCardParameters getParametersInstance ()
 
- Public Member Functions inherited from WorkflowActivity< T extends IParameters >
abstract Class<?extends Activity > getCaptureActivityClass ()
 
abstract Class<?extends Activity > getExtractActivityClass ()
 
abstract String getDefaultProcessingString (T parameters)
 
abstract CaptureData getDefaultReturnObject ()
 
abstract String getParametersKey ()
 
abstract String getResultKey ()
 
abstract String getExceptionKey ()
 
abstract T getParametersInstance ()
 
getParameters (Bundle savedInstanceState)
 

Static Public Attributes

static final String CREDIT_CARD_PARAMETERS = "_com.kofax.mobile.sdk.capture._credit_card_parameters_"
 
static final String CREDIT_CARD_RESULTS = "_com.kofax.mobile.sdk.capture._credit_card_results_"
 
static final String CREDIT_CARD_EXCEPTION = "_com.kofax.mobile.sdk.capture._credit_card_exception_"
 
- Static Public Attributes inherited from WorkflowActivity< T extends IParameters >
static final String CERTIFICATE_VALIDATOR_LISTENER
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
void captureImage ()
 
void onActivityResult (int requestCode, int resultCode, Intent data)
 
- Protected Member Functions inherited from WorkflowActivity< T extends IParameters >
boolean isOdeSupported ()
 
void onCreate (Bundle savedInstanceState)
 
void handleException (final Throwable exc)
 
void tryRestoreState (Bundle savedInstanceState)
 
void onSaveInstanceState (Bundle outState)
 
void onDestroy ()
 
void onResume ()
 
void captureImage ()
 
void onActivityResult (int requestCode, int resultCode, Intent data)
 
void clearBitmap (String imageId)
 

Detailed Description

The CreditCard workflow specializes in capturing, processing and extracting data from a credit card. To use this class, optionally construct new CreditCardParameters, modify those parameters for your use, then start an intent for this workflow:

CreditCardParameters _params = new CreditCardParameters(this);
Intent intent = new Intent(this, CreditCardWorkflowActivity.class);
intent.putExtra(CreditCardWorkflowActivity.CREDIT_CARD_PARAMETERS, _params);
startActivityForResult(intent, REQUEST_CODE);
Note
The CreditCard workflow supports the following ABIs: armeabi-v7a, arm64-v8a, x86, x86_64.

Member Function Documentation

void captureImage ( )
protected
Class<? extends Activity> getCaptureActivityClass ( )

Gets the specific capture activity for this workflow. unused

Returns
null
String getDefaultProcessingString ( CreditCardParameters  parameters)

Gets the specific processing string for this workflow. unused

Returns
null
CaptureData getDefaultReturnObject ( )

Retrieves an empty credit card object

Returns
CreditCard
String getExceptionKey ( )

Gets the specific exception key for this workflow

Returns
CREDIT_CARD_EXCEPTION
Class<? extends Activity> getExtractActivityClass ( )

Gets the specific extract activity for this workflow. unused

Returns
null
CreditCardParameters getParametersInstance ( )
String getParametersKey ( )

Gets the specific parameter key for this workflow

Returns
CREDIT_CARD_PARAMETERS
String getResultKey ( )

Gets the specific result key for this workflow

Returns
CREDIT_CARD_RESULTS
void onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
)
protected
void onCreate ( Bundle  savedInstanceState)
protected

Member Data Documentation

final String CREDIT_CARD_EXCEPTION = "_com.kofax.mobile.sdk.capture._credit_card_exception_"
static
final String CREDIT_CARD_PARAMETERS = "_com.kofax.mobile.sdk.capture._credit_card_parameters_"
static
final String CREDIT_CARD_RESULTS = "_com.kofax.mobile.sdk.capture._credit_card_results_"
static

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