Class ShakeAutoSnappingPredicate
-
- All Implemented Interfaces:
-
io.scanbot.sdk.camera.autosnapping.IAutoSnappingPredicate
public final class ShakeAutoSnappingPredicate implements IAutoSnappingPredicate<Unit>
Validation that tracks significant movements and allows snap only after some time passed since last significant move.
-
-
Constructor Summary
Constructors Constructor Description ShakeAutoSnappingPredicate(Context context, Function0<Unit> moveCallback)
-
Method Summary
-
-
Method Detail
-
setEnabled
final Unit setEnabled(Boolean isEnabled)
-
checkState
Boolean checkState(Unit param)
Run this check.
- Parameters:
param
- typed param that this implementation might need.
-
-
-
-