Notification.SemanticStyleDanger 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 属性许可证中所述的术语使用。