When switching from my app to for example spotify, I want to be notified when spotify takes over the audio session.
:microphone: Motivation
My app plays audio in the background, but it's tied to the user's location. I want to stop tracking the user's location when I know I can't play audio anymore.
:bulb: Alternatives
If there's an error on play, or a callback on stop that tells me this it'd also be more than fine.
:clipboard: Description
When switching from my app to for example spotify, I want to be notified when spotify takes over the audio session.
:microphone: Motivation
My app plays audio in the background, but it's tied to the user's location. I want to stop tracking the user's location when I know I can't play audio anymore.
:bulb: Alternatives
If there's an error on play, or a callback on stop that tells me this it'd also be more than fine.