语言

VibrationAttributeFlags 枚举

定义

定义振动属性的标志。

此枚举支持其成员值的按位组合。

[System.Flags]
public enum VibrationAttributeFlags
[<System.Flags>]
type VibrationAttributeFlags = 
继承
VibrationAttributeFlags
特性

字段

名称 值 说明
None 0

表示 None 值。

BypassInterruptionPolicy 1

即使在有限的中断下,也会请求播放振动效果的标志。 只有特权应用可以忽略限制中断的用户设置,否则将忽略此标志。

注解

这些标志会影响振动的播放方式。

Java文档android.os.VibrationAttributes。

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

适用于