-api-id | -api-type |
---|---|
T:Microsoft.Windows.AppNotifications.AppNotificationActivatedEventArgs |
winrt class |
Represents event args associated with an app activation triggered by an app notification.
To get an instance of this class, call xref:Microsoft.Windows.AppLifecycle.AppInstance.GetActivatedEventArgs?displayProperty=nameWithType, check the xref:Microsoft.Windows.AppLifecycle.AppActivationArguments.Kind?displayProperty=nameWithType property of the returned object for the value xref:Microsoft.Windows.AppLifecycle.ExtendedActivationKind.AppNotification?displayProperty=nameWithType, then cast the xref:Microsoft.Windows.AppLifecycle.AppActivationArguments.Data?displayProperty=nameWithType property to an AppNotificationActivatedEventArgs.