In my app, I would like to play audio. As long as my app is actively running, no other audio from any other apps should be played. I.e. no push audio notifications (e.g. WhatsApp), no call ringtones, no SMS, or anything else. Only my app should be able to play unmuted audio.
So whenever my app is running, the whole OS and the background apps should be muted, even if my app is currently not playing any audio. Is that possible?