语言

VibrationAttributes.UsageClassAlarm 字段

定义

注意

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

当启动振动以吸引用户注意时使用的振动用法类值,例如警报、铃声和通知振动。

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

字段值

Value = 1

实现

特性

注解

当启动振动以吸引用户注意时使用的振动用法类值,例如警报、铃声和通知振动。

Java文档android.os.VibrationAttributes.USAGE_CLASS_ALARM。

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

适用于