Partager via


HapticFeedbackConstants.NoHaptics Field

Definition

Caution

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

No haptic feedback should be performed.

[Android.Runtime.Register("NO_HAPTICS", 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 NoHaptics = -1;
[<Android.Runtime.Register("NO_HAPTICS", 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 NoHaptics : Android.Views.FeedbackConstants

Field Value

Value = -1
Attributes

Remarks

No haptic feedback should be performed. Applications may use this value to indicate skipping a call to View#performHapticFeedback entirely, or else rely that it will immediately return false.

Java documentation for android.view.HapticFeedbackConstants.NO_HAPTICS.

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