Class Functionality.FunctionalityEditor
java.lang.Object
com.regula.documentreader.api.params.Functionality.FunctionalityEditor
- Enclosing class:
Functionality
Interface used for modifying
Functionality
object. All changes you make in an editor
are batched, and not copied back to the original Functionality until you call apply()
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
Commit your changes back from this Editor to the Functionality object it is editing.setBtDeviceName
(String btDeviceName) setCameraFrame
(String cameraFrame) setCameraMode
(int cameraMode) setCameraSize
(Integer width, Integer height) setCaptureMode
(int captureMode) setDatabaseAutoupdate
(boolean databaseAutoupdate) setDisplayMetadata
(boolean displayMetadata) setDoRecordProcessingVideo
(boolean doRecordProcessingVideo) setExcludedCamera2Models
(List<String> models) setExposure
(float exposure) setForcePagesCount
(int forcePagesCount) 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 risksetManualMultipageMode
(boolean isManualMultipageMode) setOrientation
(int orientation) setPictureOnBoundsReady
(boolean pictureOnBoundsReady) setRfidTimeout
(int rfidTimeout) setShowCameraSwitchButton
(boolean mShowCameraSwitchButton) setShowCaptureButton
(boolean showCaptureButton) setShowCaptureButtonDelayFromDetect
(long showCaptureButtonDelayFromDetect) setShowCaptureButtonDelayFromStart
(long showCaptureButtonDelayFromStart) setShowChangeFrameButton
(boolean showChangeFrameButton) setShowCloseButton
(boolean showCloseButton) setShowSkipNextPageButton
(boolean showSkipNextPageButton) setShowTorchButton
(boolean showTorchButton) setSkipFocusingFrames
(boolean skipFocusingFrames) setStartDocReaderForResult
(boolean startForResult) setUseAuthenticator
(boolean useAuthenticator) setVideoCaptureMotionControl
(boolean videoCaptureMotionControl) setZoomEnabled
(boolean zoomEnabled) setZoomFactor
(float zoomFactor)
-
Method Details
-
setUseAuthenticator
-
setPictureOnBoundsReady
-
setCameraFrame
-
setOrientation
-
setShowTorchButton
-
setShowCloseButton
-
setVideoCaptureMotionControl
public Functionality.FunctionalityEditor setVideoCaptureMotionControl(boolean videoCaptureMotionControl) -
setShowCaptureButton
-
setShowChangeFrameButton
-
setShowCaptureButtonDelayFromDetect
public Functionality.FunctionalityEditor setShowCaptureButtonDelayFromDetect(long showCaptureButtonDelayFromDetect) -
setShowCaptureButtonDelayFromStart
public Functionality.FunctionalityEditor setShowCaptureButtonDelayFromStart(long showCaptureButtonDelayFromStart) -
setDatabaseAutoupdate
-
setShowSkipNextPageButton
-
setSkipFocusingFrames
-
setBtDeviceName
-
setShowCameraSwitchButton
-
setStartDocReaderForResult
-
setCaptureMode
-
setDisplayMetadata
-
setCameraSize
-
setZoomEnabled
-
setZoomFactor
-
setRfidTimeout
-
setExposure
-
setCameraMode
-
setExcludedCamera2Models
-
setDoRecordProcessingVideo
public Functionality.FunctionalityEditor setDoRecordProcessingVideo(boolean doRecordProcessingVideo) -
setIsCameraTorchCheckDisabled
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
-
setForcePagesCount
-
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.
-