API to Get/Set Volume and vibration settings for notifications
Currently, when developing a alarm clock app, there is no way to tell if the user has his phone set to vibrate only, so a soundeffect set by the user is played even if he has set his phone to vibrate. I find this very confusing, even though the builtin alarm clock behaves the same way.
This would also be good to have for games, so when you launch a game in a quiet environment not all heads turn the user's way :)
This already works! If you don’t want your toast notification to break through the vibrate-only settings, you can send your toast using the reminder scenario. You can still do looping audio using the audio element, and setting your audio to loop. Only alarms break through the vibrate setting – not reminders.
And in NotificationsExtensions, the Scenario property is on the ToastContent object.
If you would like a generic way to get volume/vibration settings, open a new feedback – this feedback was specifically talking about alarms.