语言

Notification.SemanticStyleCaution 字段

定义

注意

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

此值用于批注元素,指示语义层次结构上的警告、中等紧迫性、迟缓或另一个“中间”值。

[Android.Runtime.Register("SEMANTIC_STYLE_CAUTION", 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 SemanticStyleCaution = 3;
[<Android.Runtime.Register("SEMANTIC_STYLE_CAUTION", 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 SemanticStyleCaution : Android.App.NotificationSemanticStyle

字段值

Value = 3

实现

特性

注解

此值用于批注元素,指示语义层次结构上的警告、中等紧迫性、迟缓或另一个“中间”值。

通常通过设置带有黄色或橙色的元素的样式来向用户表示警告。

Android 参考。android.app.Notification.SEMANTIC_STYLE_CAUTION

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

适用于