Atalasoft MobileImage API Reference
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity Class Reference
Inheritance diagram for com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity:
com.kofax.mobile.sdk.capture.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 com.kofax.mobile.sdk.capture.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 com.kofax.mobile.sdk.capture.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 com.kofax.mobile.sdk.capture.WorkflowActivity< T extends IParameters >
boolean isOdeSupported ()
 
void onCreate (Bundle savedInstanceState)
 
void handleException (final Exception 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);
_params.getLookAndFeelParameters().forceCaptureEnabled = true;
_params.getExtractionParameters().serverType = ExtractionParameters.ServerType.RTTI;
_params.getLookAndFeelParameters().galleryEnabled = true;
intent.putExtra(CreditCardWorkflowActivity.CREDIT_CARD_PARAMETERS, _params);
startActivityForResult(intent, REQUEST_CODE);
Note
The CreditCard workflow is not supported on 64-bit devices.

Member Function Documentation

void com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.captureImage ( )
inlineprotected
Class<? extends Activity> com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getCaptureActivityClass ( )
inline

Gets the specific capture activity for this workflow. unused

Returns
null
String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getDefaultProcessingString ( CreditCardParameters  parameters)
inline

Gets the specific processing string for this workflow. unused

Returns
null
CaptureData com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getDefaultReturnObject ( )
inline

Retreives an empty credit card object

Returns
CreditCard
String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getExceptionKey ( )
inline

Gets the specific exception key for this workflow

Returns
CREDIT_CARD_EXCEPTION
Class<? extends Activity> com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getExtractActivityClass ( )
inline

Gets the specific extract activity for this workflow. unused

Returns
null
CreditCardParameters com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getParametersInstance ( )
inline
String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getParametersKey ( )
inline

Gets the specific parameter key for this workflow

Returns
CREDIT_CARD_PARAMETERS
String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.getResultKey ( )
inline

Gets the specific result key for this workflow

Returns
CREDIT_CARD_RESULTS
void com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
)
inlineprotected
void com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.onCreate ( Bundle  savedInstanceState)
inlineprotected

Member Data Documentation

final String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.CREDIT_CARD_EXCEPTION = "_com.kofax.mobile.sdk.capture._credit_card_exception_"
static
final String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.CREDIT_CARD_PARAMETERS = "_com.kofax.mobile.sdk.capture._credit_card_parameters_"
static
final String com.kofax.mobile.sdk.capture.creditcard.CreditCardWorkflowActivity.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 © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.