I would like to cancel a background audio task from the app/background task in wp8.1 - is there a way to raise cancellation from code? can't find anything on msdn or anywhere else..
Background why i want to do that:
In wp8 a lot of users weren't very amused about the fact that the systemmediacontrols were active all the time. Same in wp8.1: Microsoft says the background task should be cancelled (i) when another app wants to use background audio, or (ii) after timeout (i think i read it somewhere). Since in my tests it seems that this timeout cancellation never happens, i would like to give the user a possibility to shutdown the hole app (incl. background audio).
I would be grateful for any suggestion.
Best