语言

Notification.SemanticStyleSafe 字段

定义

注意

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

此值用于批注元素,指示语义层次结构上的安全、非紧急性、时间线或其他“温和”值。

[Android.Runtime.Register("SEMANTIC_STYLE_SAFE", 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 SemanticStyleSafe = 2;
[<Android.Runtime.Register("SEMANTIC_STYLE_SAFE", 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 SemanticStyleSafe : Android.App.NotificationSemanticStyle

字段值

Value = 2

实现

特性

注解

此值用于批注元素,指示语义层次结构上的安全、非紧急性、时间线或其他“温和”值。

安全性通常通过为元素设置绿色的样式来表示给用户。

Android 参考。android.app.Notification.SEMANTIC_STYLE_SAFE

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

适用于