setAutoSnappingSensitivity

abstract fun setAutoSnappingSensitivity(sensitivity: Float)

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. If given value is outside of this range it is clamped