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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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 false frames will be skipped.

      • setAutoSnappingEnabled

         abstract Unit setAutoSnappingEnabled(Boolean autoSnappingEnabled)

        Flag to disable autosnapping processing. In case of false frames will be skipped.