How to know when an AppNotification is dismissed?
#4224
Replies: 3 comments 1 reply
-
|
@DrusTheAxe do you have any ideas here? |
Beta Was this translation helpful? Give feedback.
-
|
not a great answer, but one thing that can be done in a packaged application is to use the i wonder if this would work if packaging with external location as well |
Beta Was this translation helpful? Give feedback.
-
|
As correctly pointed out in the question, Windows App SDK App Notifications doesn't support events. Currently, the only possible workaround is to use the Windows SDK Toast APIs -> Dismissed event. The code provided by @stevenbrix is mostly the way to go, plus the API clarification I made in his comment. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The actual
Windows.UI.Toast.ToastNotificationobject has events to know when the toast has been dismissed, but there isn't anything like this on theAppNotificationclass. Is there a way to know when the user has dismissed the notification?Beta Was this translation helpful? Give feedback.
All reactions