语言

HapticFeedbackConstants.NoHaptics 字段

定义

注意

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

不应执行触觉反馈。

[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

字段值

Value = -1
特性

注解

不应执行触觉反馈。 应用程序可以使用此值来指示跳过完全调用 View#performHapticFeedback ,否则依赖于它将立即返回 false。

Java文档android.view.HapticFeedbackConstants.NO_HAPTICS。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于