ViewConfiguration.AmbiguousGestureMultiplier Property

Definition

The multiplication factor for inhibiting default gestures.

public static float AmbiguousGestureMultiplier { [Android.Runtime.Register("getAmbiguousGestureMultiplier", "()F", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getAmbiguousGestureMultiplier", "()F", "", ApiSince=29)>]
static member AmbiguousGestureMultiplier : single

Property Value

Attributes

Remarks

The multiplication factor for inhibiting default gestures.

If a MotionEvent has android.view.MotionEvent#CLASSIFICATION_AMBIGUOUS_GESTURE set, then certain actions, such as scrolling, will be inhibited. However, to account for the possibility of an incorrect classification, existing gesture thresholds (e.g. scrolling touch slop and the long-press timeout) should be scaled by this factor and remain in effect.

This member is deprecated. Use #getScaledAmbiguousGestureMultiplier().

Java documentation for android.view.ViewConfiguration.getAmbiguousGestureMultiplier().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to