ToastNotificationPriority ToastNotificationPriority ToastNotificationPriority ToastNotificationPriority ToastNotificationPriority Enum

Definition

Specifies the priority of a ToastNotification.

public : enum class ToastNotificationPriority
enum class winrt::Windows::UI::Notifications::ToastNotificationPriority : int32_t
public enum ToastNotificationPriority
Public Enum ToastNotificationPriority
var value = Windows.UI.Notifications.ToastNotificationPriority.default;
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 Default 0

The notification should have default behavior in terms of delivery and display priority during connected standby mode.

High High High High High 1

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.

See also

  • P:Windows.UI.Notifications.ToastNotification.Priority