Atalasoft MobileImage API Reference
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.kofax.mobile.sdk.capture.CaptureActivity Class Referenceabstract
Inheritance diagram for com.kofax.mobile.sdk.capture.CaptureActivity:

Public Member Functions

void finish ()
 
void onExitButtonClick ()
 
void onForceCaptureButtonClick ()
 
void onGalleryButtonClick ()
 
void onTorchChange (boolean checked)
 

Static Public Attributes

static final String RESULT_CODE = "__result_code__"
 
static final int IMAGE_CAPTURED = -42
 
static final int NO_IMAGE_CAPTURED = -1
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
void onResume ()
 
void onPause ()
 
ICameraView getCameraView ()
 
void setupCameraView (ViewGroup container)
 
void setupButtonBarView (LinearLayout mainView)
 
void onSaveInstanceState (Bundle outState)
 
void setDetector (IDocumentDetector detector)
 
void setDetectorSettings (DetectionSettings settings)
 
void setOverlay (IOverlayView view)
 
void saveResultAndFinish (Image image, Bundle bundle)
 
void onActivityResult (int requestCode, int resultCode, Intent data)
 

Detailed Description

Manages views and logic for capture for the WorkflowActivity. This activity is constructed automatically by the WorkflowActivity and is not intended for direct use.

Member Function Documentation

void com.kofax.mobile.sdk.capture.CaptureActivity.finish ( )
inline
ICameraView com.kofax.mobile.sdk.capture.CaptureActivity.getCameraView ( )
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onCreate ( Bundle  savedInstanceState)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onExitButtonClick ( )
inline

Handle the event for when the exit button is tapped by the user.

void com.kofax.mobile.sdk.capture.CaptureActivity.onForceCaptureButtonClick ( )
inline

Handle the event for when the force capture button is tapped by the user.

void com.kofax.mobile.sdk.capture.CaptureActivity.onGalleryButtonClick ( )
inline

Handle the event for when the gallery button is tapped by the user.

void com.kofax.mobile.sdk.capture.CaptureActivity.onPause ( )
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onResume ( )
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onSaveInstanceState ( Bundle  outState)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.onTorchChange ( boolean  checked)
inline
void com.kofax.mobile.sdk.capture.CaptureActivity.saveResultAndFinish ( Image  image,
Bundle  bundle 
)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.setDetector ( IDocumentDetector  detector)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.setDetectorSettings ( DetectionSettings  settings)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.setOverlay ( IOverlayView  view)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.setupButtonBarView ( LinearLayout  mainView)
inlineprotected
void com.kofax.mobile.sdk.capture.CaptureActivity.setupCameraView ( ViewGroup  container)
inlineprotected

Member Data Documentation

final int com.kofax.mobile.sdk.capture.CaptureActivity.IMAGE_CAPTURED = -42
static
final int com.kofax.mobile.sdk.capture.CaptureActivity.NO_IMAGE_CAPTURED = -1
static
final String com.kofax.mobile.sdk.capture.CaptureActivity.RESULT_CODE = "__result_code__"
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.