Search code examples
win-universal-appnfcwindows-10-mobiletemplate10

Programmatically turn off the system sound for NFC proximity on Windows 10 phone


I'm developing a Universal Windows Platform (UWP) app for use on Windows 10 phones (e.g., Lumia 950/950XL). Part of the app requires that an NFC tag is tapped to allow the user to indicate their presence at a particular location.

When the phone comes into range of a tag, a system generated sound plays. This is independent of the app. I'd like to be able to turn this sound off, because when the tag is tapped, I want to indicate success or failure by my own sounds. The system sound is quite long, and as far as I can see there's no way to change it.

Is there any way to turn off the system sound from within the app?


Solution

  • At this time, the Universal Windows Platform cannot change system settings for the user. There are, of course, operating system API used by the Windows Settings apps, but those are not public and have not been announced to be made so. This includes sounds. Sorry.