AppNotificationPriority 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 the priority of an app notification.
public enum class AppNotificationPriority
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
enum class AppNotificationPriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
public enum AppNotificationPriority
var value = Microsoft.Windows.AppNotifications.AppNotificationPriority.default
Public Enum AppNotificationPriority
- Inheritance
-
AppNotificationPriority
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Default priority. |
High | 1 | High priority. |
Remarks
The priority value provides hints to the platform on how and at what urgency level a notification should be presented to the user. For example, the priority may affect whether the system wakes up the screen of a sleeping device.
Set the priority of an AppNotification with the Priority property.