Class CaptureIntervalAutoSnappingPredicate
-
- All Implemented Interfaces:
-
io.scanbot.sdk.camera.autosnapping.IAutoSnappingPredicate
,io.scanbot.sdk.camera.autosnapping.ResettablePredicate
public final class CaptureIntervalAutoSnappingPredicate implements IAutoSnappingPredicate<Unit>, ResettablePredicate
Determines how often consecutive snaps can be made.
Don't forget to call reset after successful snap.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Float
DEFAULT_SENSITIVITY
private IAutoSnappingController.AutoSnappingStateListener
stateListener
-
Constructor Summary
Constructors Constructor Description CaptureIntervalAutoSnappingPredicate()
-
Method Summary
Modifier and Type Method Description final IAutoSnappingController.AutoSnappingStateListener
getStateListener()
final Unit
setStateListener(IAutoSnappingController.AutoSnappingStateListener stateListener)
final Unit
setSensitivity(Float sensitivity)
Boolean
checkState(Unit param)
Run this check. Unit
reset()
Reset possible internal counter, e.g. -
-
Method Detail
-
getStateListener
final IAutoSnappingController.AutoSnappingStateListener getStateListener()
-
setStateListener
final Unit setStateListener(IAutoSnappingController.AutoSnappingStateListener stateListener)
-
setSensitivity
final Unit setSensitivity(Float sensitivity)
-
checkState
Boolean checkState(Unit param)
Run this check.
- Parameters:
param
- typed param that this implementation might need.
-
-
-
-