SwipeThresholds

data class SwipeThresholds(val activation: Dp?, val confirmationMinDistance: Dp, val confirmationVelocity: Dp, val offAxisCancellation: Dp)

Constructors

Link copied to clipboard
constructor(activation: Dp?, confirmationMinDistance: Dp, confirmationVelocity: Dp, offAxisCancellation: Dp)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Threshold for activating the swipe gesture detection. If null, uses the default touch slop value from view configuration.

Link copied to clipboard

Minimum distance the swipe must travel to be confirmed.

Link copied to clipboard

Velocity threshold required for swipe confirmation

Link copied to clipboard

Distance that triggers cancellation when swiping away from the permitted swipe direction.