NotificationSemanticStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum NotificationSemanticStyle
type NotificationSemanticStyle =
- Inheritance
-
NotificationSemanticStyle
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | 0 | This is the default value for semantic style, signaling no particular semantics. An Annotation with this style has no effect. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Info | 1 | This value is used to annotate an element as indicating information that should stand out from other content, but which doesn’t fall on a scale or hierarchy. This can be thought of as a more neutral value that may be used in cases where the element is intended to stand out against elements with the other semantic styles -- for example if a ProgressStyle bar uses semantic style to color segments, this style would be appropriate for segments where the semantic hierarchy is unhelpful to the user. Info is generally represented to users by styling the element with a color (like blue) that is clearly distinct from the colors used for other styles. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Safe | 2 | This value is used to annotate an element as indicating safety, non-urgency, timeliness, or another “mild” value on the semantic hierarchy. Safety is generally represented to users by styling the element with a green color. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Caution | 3 | This value is used to annotate an element as indicating caution, moderate urgency, tardiness, or another “intermediate” value on the semantic hierarchy. Caution is generally represented to users by styling the element with a yellow or orange color. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Danger | 4 | This value is used to annotate an element as indicating danger, extreme urgency or lateness, or another “extreme” value on the semantic hierarchy. Danger is generally represented to users by styling the element with a red color. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |