ToastNotificationPriority
ToastNotificationPriority
ToastNotificationPriority
ToastNotificationPriority
Enum
Definition
Specifies the priority of a ToastNotification.
public : enum class ToastNotificationPrioritypublic enum ToastNotificationPriorityPublic Enum ToastNotificationPriority// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Fields
| Default Default Default Default | The notification should have default behavior in terms of delivery and display priority during connected standby mode. |
| High High High High | The notification should be treated as high priority. For desktop PCs, this means during connected standby mode the incoming notification can turn on the screen for Surface-like devices if it doesn’t have a closed lid detected. |
Remarks
The priority setting provides hints on how and at what urgency level a notification should be presented to the user (whether to wake up the screen, etc). Whether the notification is displayed in high priority is based on the state and power management policy of the device.