Expand description
An incomplete wrapper over the WinRT toast api
Tested in Windows 10 and 8.1. Untested in Windows 8, might work.
Todo:
- Add support for Adaptive Content
Known Issues:
- Will not work for Windows 7.
Limitations:
- Windows 8.1 only supports a single image, the last image (icon, hero, image) will be the one on the toast
for xml schema details check out:
- https://docs.microsoft.com/en-us/uwp/schemas/tiles/toastschema/root-elements
- https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-toast-xml-schema
- https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-adaptive-interactive-toasts
- https://msdn.microsoft.com/library/14a07fce-d631-4bad-ab99-305b703713e6#Sending_toast_notifications_from_desktop_apps
For Windows 7 and older support look into Shell_NotifyIcon
- https://msdn.microsoft.com/en-us/library/windows/desktop/ee330740(v=vs.85).aspx
- https://softwareengineering.stackexchange.com/questions/222339/using-the-system-tray-notification-area-app-in-windows-7
For actions look at https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.uwp.notifications.toastactionscustom?view=win-comm-toolkit-dotnet-7.0
Structs§
- An (HSTRING) is a reference-counted and immutable UTF-16 string type.
ToastDismissalReason
is a struct representing the reason a toast notification was dismissed.
Enums§
- Sounds suitable for Looping