Allowing suspension of a windows store app when audio is paused
问题 One of the requirements for windows store apps is that they support suspending. My app is marked as a background audio task, so it doesn't suspend when left alone, but it is supposed to suspend when the audio is paused. I can't find out how to "tell Windows" when it can or can't suspend. How do I have my background audio application pass the package validation? 回答1: To enable background audio you must register handlers for the Media Control button events. These are in the Windows.Media