Previously in desktop Windows 8 and Windows 8.1, a toast notification was a transient message – a toast notification would disappear and become none-retrievable once it is missed or ignored by the user.
In Windows 10, toast notifications have evolved visually and functionally. The definition and behavior of toast notifications have evolved alone with the changes in the Windows shell. A toast notification is still a message that acts like an invitation that invites the user back to the in-app experience, but it is now capable of doing more things.
For existing Windows store app designers and developers, here is a list of things a toast now does or behaves differently from before.
Action center on all Windows devices
- Universal action center - Once a toast notification is ignored or temporarily dismissed by the user, it will go into a system area called action center. Action center used to be a phone feature, but now both desktop and mobile have action center. Below shows action center on desktop.
New functionalities on toast notification behavior and layout
- Expanding toast on Mobile - For mobile devices, toast notifications (even existing ones) will be displayed in a collapsed/condensed mode, but are able to be expanded if there is more content or actions in the toast to show. Below shows an example of a toast notification in collapsed and expanded modes.
- More types of activations through actions - A toast can not only invite users back to your app, but also include custom actions to run a background task or launch into other apps – find out more information on the different activation types in this blog post – Adaptive and interactive toast notifications for Windows 10.
- No more ToastCapable - All UWP apps are capable of sending toast notifications, without the need to declare any capability in the app’s manifest file anymore.
Toasts and tiles can now get in sync!
- In Windows 10, we added the ability for an app to be notified when the app’s collection of notifications is changed in any way that’s not caused by the app’s local client. For example, by subscribing to a trigger, you will be notified when the user removes notification from action center, when notifications are expired, and when a WNS push toast is delivered to the client. In this way, the developer is able to do whatever based on these events, but the most obvious scenario would be keeping the app’s badge and tile content in sync after user removes toasts from action center. For more details on how to use this feature, please head to this blog post – Quickstart: Sending a local toast notification and handling activations from it (Windows 10), and look for ToastNotificationHistoryChangedTrigger.
- New setting behavior - In Windows 10, only after an app sends a first toast notification, will it be added to the Notifications & Actions section of System Settings, from which the user can disable or enable toast notifications for your app at any time.