VibrationAttributes.UsagePhysicalEmulation 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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_EMULATION
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。