语言

Notification.SemanticStyleDanger 字段

定义

注意

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

此值用于批注元素,指示危险、极端紧迫性或延迟,或语义层次结构上的另一个“极端”值。

[Android.Runtime.Register("SEMANTIC_STYLE_DANGER", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationSemanticStyle enum directly instead of this field.", true)]
public const Android.App.NotificationSemanticStyle SemanticStyleDanger = 4;
[<Android.Runtime.Register("SEMANTIC_STYLE_DANGER", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationSemanticStyle enum directly instead of this field.", true)>]
val mutable SemanticStyleDanger : Android.App.NotificationSemanticStyle

字段值

Value = 4

实现

特性

注解

此值用于批注元素,指示危险、极端紧迫性或延迟,或语义层次结构上的另一个“极端”值。

危险通常通过用红色设置元素的样式来表示给用户。

Android 参考。android.app.Notification.SEMANTIC_STYLE_DANGER

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

适用于