Notification.SemanticStyleInfo 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,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_INFO", 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 SemanticStyleInfo = 1;
[<Android.Runtime.Register("SEMANTIC_STYLE_INFO", 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 SemanticStyleInfo : Android.App.NotificationSemanticStyle
字段值
Value = 1实现
- 特性
注解
此值用于批注元素,以指示应从其他内容中脱颖而出但不属于缩放或层次结构的信息。 这可以视为一个更中性的值,在元素旨在与其他语义样式的元素脱颖而出的情况下使用 -- 例如,如果 ProgressStyle 条使用语义样式来着色段,则此样式适用于语义层次结构对用户无益的段。
信息通常通过设置具有颜色(如蓝色)的元素的样式来向用户表示,该颜色与用于其他样式的颜色明显不同。
Android 参考。android.app.Notification.SEMANTIC_STYLE_INFO
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。