Alarm and Incoming Call Notifications

On a PC, an app can be designated as the alarm app in the PC & devices section of the PC Settings app. This gives it the ability to send special alarm toast notifications that have higher accuracy and optional buttons for snoozing and dismissing the alarm.

For your app to be eligible to be chosen as the alarm app, it must be marked as toast capable and able to update the lock screen. This is done on the Application tab of the package manifest designer. The lock screen setting requires you to declare a background task in your package manifest, but you can declare one with a dummy entry point name without actually implementing one. You must also declare your alarm support by adding the following XML element ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.