Class Functionality.FunctionalityEditor
- java.lang.Object
-
- com.regula.documentreader.api.params.Functionality.FunctionalityEditor
-
- Enclosing class:
- Functionality
public static class Functionality.FunctionalityEditor extends java.lang.Object
Interface used for modifyingFunctionality
object. All changes you make in an editor are batched, and not copied back to the original Functionality until you callapply()
-
-
Method Summary
-
-
-
Method Detail
-
setUseAuthenticator
public Functionality.FunctionalityEditor setUseAuthenticator(boolean useAuthenticator)
-
setPictureOnBoundsReady
public Functionality.FunctionalityEditor setPictureOnBoundsReady(boolean pictureOnBoundsReady)
-
setCameraFrame
public Functionality.FunctionalityEditor setCameraFrame(java.lang.String cameraFrame)
-
setOrientation
public Functionality.FunctionalityEditor setOrientation(int orientation)
-
setShowTorchButton
public Functionality.FunctionalityEditor setShowTorchButton(boolean showTorchButton)
-
setShowCloseButton
public Functionality.FunctionalityEditor setShowCloseButton(boolean showCloseButton)
-
setVideoCaptureMotionControl
public Functionality.FunctionalityEditor setVideoCaptureMotionControl(boolean videoCaptureMotionControl)
-
setShowCaptureButton
public Functionality.FunctionalityEditor setShowCaptureButton(boolean showCaptureButton)
-
setShowChangeFrameButton
public Functionality.FunctionalityEditor setShowChangeFrameButton(boolean showChangeFrameButton)
-
setShowCaptureButtonDelayFromDetect
public Functionality.FunctionalityEditor setShowCaptureButtonDelayFromDetect(long showCaptureButtonDelayFromDetect)
-
setShowCaptureButtonDelayFromStart
public Functionality.FunctionalityEditor setShowCaptureButtonDelayFromStart(long showCaptureButtonDelayFromStart)
-
setDatabaseAutoupdate
public Functionality.FunctionalityEditor setDatabaseAutoupdate(boolean databaseAutoupdate)
-
setShowSkipNextPageButton
public Functionality.FunctionalityEditor setShowSkipNextPageButton(boolean showSkipNextPageButton)
-
setSkipFocusingFrames
public Functionality.FunctionalityEditor setSkipFocusingFrames(boolean skipFocusingFrames)
-
setBtDeviceName
public Functionality.FunctionalityEditor setBtDeviceName(java.lang.String btDeviceName)
-
setShowCameraSwitchButton
public Functionality.FunctionalityEditor setShowCameraSwitchButton(boolean mShowCameraSwitchButton)
-
setStartDocReaderForResult
public Functionality.FunctionalityEditor setStartDocReaderForResult(boolean startForResult)
-
setCaptureMode
public Functionality.FunctionalityEditor setCaptureMode(int captureMode)
-
setDisplayMetadata
public Functionality.FunctionalityEditor setDisplayMetadata(boolean displayMetadata)
-
setCameraSize
public Functionality.FunctionalityEditor setCameraSize(java.lang.Integer width, java.lang.Integer height)
-
setZoomEnabled
public Functionality.FunctionalityEditor setZoomEnabled(boolean zoomEnabled)
-
setZoomFactor
public Functionality.FunctionalityEditor setZoomFactor(float zoomFactor)
-
setRfidTimeout
public Functionality.FunctionalityEditor setRfidTimeout(int rfidTimeout)
-
setExposure
public Functionality.FunctionalityEditor setExposure(float exposure)
-
setCameraMode
public Functionality.FunctionalityEditor setCameraMode(int cameraMode)
-
setExcludedCamera2Models
public Functionality.FunctionalityEditor setExcludedCamera2Models(java.util.List<java.lang.String> models)
-
setDoRecordProcessingVideo
public Functionality.FunctionalityEditor setDoRecordProcessingVideo(boolean doRecordProcessingVideo)
-
setIsCameraTorchCheckDisabled
public Functionality.FunctionalityEditor setIsCameraTorchCheckDisabled(boolean disabled)
As some devices have bug returning hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH) false when FLASH is actually available, use this to turn this check off !!!CAUTION!!! use at your own risk- Parameters:
disabled
- false by default
-
setManualMultipageMode
public Functionality.FunctionalityEditor setManualMultipageMode(boolean isManualMultipageMode)
-
setForcePagesCount
public Functionality.FunctionalityEditor setForcePagesCount(int forcePagesCount)
-
apply
public void apply()
Commit your changes back from this Editor to the Functionality object it is editing. This atomically performs the requested modifications, replacing whatever is currently in the Functionality.
-
-