ActionEmphasis 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.
Specifies relative-importance hints for notification actions.
public enum ActionEmphasis
type ActionEmphasis =
- Inheritance
-
ActionEmphasis
Fields
| Name | Value | Description |
|---|---|---|
| Auto | 0 | The action’s visual emphasis is generally the default, or may be automatically determined by the system based on context. 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. |
| Primary | 1 | The action’s visual emphasis may indicate that this action is more important than others. 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. |
| Secondary | 2 | The action’s visual emphasis may indicate that this action is less important than others. 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. |
Remarks
These hints can affect promoted ongoing notifications. Standard notifications need not follow the requested emphasis.