Atalasoft MobileImage API Reference
Public Member Functions | List of all members
com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience Class Reference
Inheritance diagram for com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience:
com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperience com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperience com.kofax.kmc.kui.uicontrols.StabilityDelayListener com.kofax.kmc.kui.uicontrols.LevelnessListener com.kofax.kmc.kui.uicontrols.AutoFocusResultListener com.kofax.kmc.kui.uicontrols.ImageCapturedListener

Public Member Functions

 DocumentCaptureExperience (ImageCaptureView view)
 
 DocumentCaptureExperience (ImageCaptureView view, DocumentCaptureExperienceCriteriaHolder criteria)
 
void setCaptureCriteria (DocumentCaptureExperienceCriteriaHolder criteria)
 
DocumentCaptureExperienceCriteriaHolder getCaptureCriteria ()
 
- Public Member Functions inherited from com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperience
 DocumentBaseCaptureExperience (ImageCaptureView view, DocumentBaseCaptureExperienceCriteriaHolder criteria)
 
final void addOnImageCapturedListener (ImageCapturedListener listener)
 
final void removeOnImageCapturedListener (ImageCapturedListener listener)
 
final void setVibrationEnabled (boolean enable)
 
boolean isVibrationEnabled ()
 
void takePicture ()
 
void takePictureContinually ()
 
void stopCapture ()
 
void destroy ()
 
void enableAnimationTutor (boolean enable)
 
boolean isAnimationTutorEnable ()
 
CaptureMessage getUserInstructionMessage ()
 
void setUserInstructionMessage (CaptureMessage userInstructionsMessage)
 
CaptureMessage getHoldSteadyMessage ()
 
void setHoldSteadyMessage (CaptureMessage holdSteadyMessage)
 
void setCenterMessage (CaptureMessage centerMessage)
 
CaptureMessage getCenterMessage ()
 
void setZoomInMessage (CaptureMessage zoomInMessage)
 
CaptureMessage getZoomInMessage ()
 
void setZoomOutMessage (CaptureMessage zoomOutMessage)
 
CaptureMessage getZoomOutMessage ()
 
void setRotateMessage (CaptureMessage message)
 
CaptureMessage getRotateMessage ()
 
void setHoldParallelMessage (CaptureMessage message)
 
CaptureMessage getHoldParallelMessage ()
 
void setCapturedMessage (CaptureMessage capturedMessage)
 
CaptureMessage getCapturedMessage ()
 
void setOuterViewFinderColor (int colorCode)
 Outer view finder color. More...
 
int getOuterViewFinderColor ()
 
void setGuidanceFrameColor (int colorCode)
 Guidance frame color. More...
 
void setSteadyGuidanceFrameColor (int colorCode)
 Steady guidance frame color. More...
 
int getGuidanceFrameColor ()
 
double getPaddingPercent ()
 
Bitmap getDocumentSampleImage ()
 
void setDocumentSampleImage (Bitmap documentSampleImage)
 
void addPageDetectionListener (PageDetectionListener listener)
 
void removePageDetectionListener (PageDetectionListener listener)
 
- Public Member Functions inherited from com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperience
void addOnImageCapturedListener (ImageCapturedListener listener)
 
void removeOnImageCapturedListener (ImageCapturedListener listener)
 
void setVibrationEnabled (boolean enable)
 
boolean isVibrationEnabled ()
 
void takePicture ()
 
void takePictureContinually ()
 
void stopCapture ()
 
void onImageCaptured (ImageCapturedEvent event)
 Invoked when the camera captures an image. More...
 
void onAutoFocus (AutoFocusResultEvent event)
 Invoked when the camera completes focusing. More...
 
void onLevelness (LevelnessEvent event)
 Invoked when the orientation of the device changes. More...
 
void onStabilityDelay (StabilityDelayEvent event)
 Invoked when stability levels change. More...
 
void destroy ()
 

Additional Inherited Members

- Protected Member Functions inherited from com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperience
void initBase (ImageCaptureView view, DocumentBaseCaptureExperienceCriteriaHolder criteria)
 
- Protected Member Functions inherited from com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperience
void invokeImageCapturedListeners (ImageCapturedEvent event)
 
boolean captureCriteriaMetInternal (CaptureExperienceData data)
 
- Protected Attributes inherited from com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperience
Context _ctx
 
- Protected Attributes inherited from com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperience
CaptureExperienceData _captureExperienceData = new CaptureExperienceData()
 
final Object _lock
 
boolean _sdkCaptureRequested
 
boolean _continuousCapture
 
ImageCaptureView _imageCaptureView
 
final Handler _uiHandler = new Handler(Looper.getMainLooper())
 
boolean _continuousReset
 
float _aspectRatio
 
Set< ImageCapturedListener_imageCapturedListeners = new LinkedHashSet<ImageCapturedListener>()
 
Vibrator _vibrator
 
boolean _vibrationEnabled = false
 

Detailed Description

This class is responsible for rendering an enhanced visual experience on an ImageCaptureView and provides feedback to guide the user to take a clear, legible and optimally zoomed in photo of a document. Criteria of such a document can be specified by using a setCaptureCriteria(DocumentCaptureExperienceCriteriaHolder) method.

When the criteria are satisfied, a photo can be taken automatically, to enable it use takePicture() or takePictureContinually().

Note: DocumentCaptureExperience is best used on a view that occupies the maximum possible area of its parent view.

Constructor & Destructor Documentation

com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience.DocumentCaptureExperience ( ImageCaptureView  view)
inline

Constructs an experience on a given ImageCaptureView.

Parameters
viewThe ImageCaptureView this will be drawn onto
com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience.DocumentCaptureExperience ( ImageCaptureView  view,
DocumentCaptureExperienceCriteriaHolder  criteria 
)
inline

Constructs an experience on a given ImageCaptureView with specific CheckCaptureExperienceCriteriaHolder

Parameters
viewThe ImageCaptureView this will be drawn onto
criteriaThe criteria used to determine if a photo should be taken

Member Function Documentation

DocumentCaptureExperienceCriteriaHolder com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience.getCaptureCriteria ( )
inline

Returns the criteria used to determine if a photo should be taken.

Returns
DocumentCaptureExperienceCriteriaHolder
See also
DocumentCaptureExperienceCriteriaHolder
void com.kofax.kmc.kui.uicontrols.captureanimations.DocumentCaptureExperience.setCaptureCriteria ( DocumentCaptureExperienceCriteriaHolder  criteria)
inline

Calling this method will cause all of the capture related parameters to be configured

Parameters
criteriaThe criteria used to determine if a photo should be taken
See also
DocumentCaptureExperienceCriteriaHolder

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.