UserNotificationChangedTrigger UserNotificationChangedTrigger UserNotificationChangedTrigger UserNotificationChangedTrigger Class

Definition

Represents a trigger that fires when a UserNotification is added or removed.

public : sealed class UserNotificationChangedTrigger : IBackgroundTriggerpublic sealed class UserNotificationChangedTrigger : IBackgroundTriggerPublic NotInheritable Class UserNotificationChangedTrigger Implements IBackgroundTrigger// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

The user notification listener requires that explicit user permission be granted before it may be used. Call RequestAccessAsync from the UI thread before attempting to access notifications.

Constructors

UserNotificationChangedTrigger(NotificationKinds) UserNotificationChangedTrigger(NotificationKinds) UserNotificationChangedTrigger(NotificationKinds) UserNotificationChangedTrigger(NotificationKinds)

Initializes a new instance of the UserNotificationChangedTrigger class.

public : UserNotificationChangedTrigger(NotificationKinds notificationKinds)public UserNotificationChangedTrigger(NotificationKinds notificationKinds)Public Sub New(notificationKinds As NotificationKinds)// You can use this method in JavaScript.
Parameters
notificationKinds
NotificationKinds NotificationKinds NotificationKinds NotificationKinds

The kind of notification trigger.