语言

VibrationAttributes.UsageGestureInput 字段

定义

注意

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

用于作为用户手势输入的反馈执行的振动的使用值。

[Android.Runtime.Register("USAGE_GESTURE_INPUT", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.", true)]
public const Android.OS.VibrationAttributesUsageType UsageGestureInput = 98;
[<Android.Runtime.Register("USAGE_GESTURE_INPUT", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.", true)>]
val mutable UsageGestureInput : Android.OS.VibrationAttributesUsageType

字段值

Value = 98

实现

特性

注解

用于作为用户手势输入的反馈执行的振动的使用值。

手势输入被广泛定义为用户输入,不属于物理 InputDevice的直接使用范围。 请注意,笔势输入可能涉及与某个 InputDevice用户交互,但输入本身是用户手势,不是直接应用 InputDevice。

手势输入的确切定义因外形规格和输入形式而异。 例如,在可穿戴设备上,它可以是用户提供的基于手部的手势,而无需触摸任何物理设备 InputDevice。 另一个例子是触摸屏上的收缩手势。

Java文档android.os.VibrationAttributes.USAGE_GESTURE_INPUT。

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

适用于