Sdílet prostřednictvím


HapticFeedbackConstants.GestureThresholdDeactivate Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.

The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is “eligible” at a certain threshold of movement, and can be cancelled by moving back past the threshold.

[Android.Runtime.Register("GESTURE_THRESHOLD_DEACTIVATE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.", true)]
public const Android.Views.FeedbackConstants GestureThresholdDeactivate = 24;
[<Android.Runtime.Register("GESTURE_THRESHOLD_DEACTIVATE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.", true)>]
val mutable GestureThresholdDeactivate : Android.Views.FeedbackConstants

Field Value

Value = 24
Attributes

Remarks

The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is “eligible” at a certain threshold of movement, and can be cancelled by moving back past the threshold. This constant indicates that the user's motion has just re-crossed back "under" the threshold for the action to be activated, meaning the gesture is currently in a cancelled state.

Java documentation for android.view.HapticFeedbackConstants.GESTURE_THRESHOLD_DEACTIVATE.

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