How can we improve the Windows dev platform?

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 :)

4,398 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Line40 MobileLine40 Mobile shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    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.

    Basically…

    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.

    828 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      ← Previous 1 3 4 5 41 42

      Feedback and Knowledge Base