Package io.scanbot.sdk.ui
Interface IAutoSnappingViewController
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.ICameraViewController,io.scanbot.sdk.ui.ILegacyCameraController,io.scanbot.sdk.ui.ILiveDetectionCameraController
public interface IAutoSnappingViewController implements ILiveDetectionCameraController
Base interface class for the Classical components View with autosnapping feature
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetAutoSnappingSensitivity(Float sensitivity)Changes sensitivity of auto-snapping. abstract BooleangetAutoSnappingEnabled()Flag to disable autosnapping processing. abstract UnitsetAutoSnappingEnabled(Boolean autoSnappingEnabled)Flag to disable autosnapping processing. -
-
Method Detail
-
setAutoSnappingSensitivity
abstract Unit setAutoSnappingSensitivity(Float sensitivity)
Changes sensitivity of auto-snapping. That is: the more sensitive it is the faster it shoots.
Sensitivity must be within
[0..1]range. A value of 1.0 triggers automatic capturing immediately, a value of 0.0 delays the automatic by 3 seconds.The default value is CaptureIntervalAutoSnappingPredicate.DEFAULT_SENSITIVITY (~1 sec)
- Parameters:
sensitivity- sensitivity within[0..1]range.
-
getAutoSnappingEnabled
abstract Boolean getAutoSnappingEnabled()
Flag to disable autosnapping processing. In case of
falseframes will be skipped.
-
setAutoSnappingEnabled
abstract Unit setAutoSnappingEnabled(Boolean autoSnappingEnabled)
Flag to disable autosnapping processing. In case of
falseframes will be skipped.
-
-
-
-