VibrationAttributes.UsagePhysicalEmulation 字段

定义

注意

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

用于模拟物理硬件反应(如边缘挤压)的振动的使用价值。

[Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", ApiSince=30)]
[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 UsagePhysicalEmulation = 34;
[<Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.", true)>]
val mutable UsagePhysicalEmulation : Android.OS.VibrationAttributesUsageType

字段值

Value = 34

实现

属性

注解

用于模拟物理硬件反应(如边缘挤压)的振动的使用价值。

请注意,通常将普通屏幕触摸反馈“点击”效果归类为 #USAGE_TOUCH,并且屏幕上的“物理”动画(如弹跳)是 #USAGE_MEDIA

适用于 . 的 android.os.VibrationAttributes.USAGE_PHYSICAL_EMULATIONJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于