Background Audio

📘

Background audio permission on iOS allows audio from the app to be played while the app is minimized or backgrounded. Use the Median JavaScript Bridge to start and stop the background audio service to make use of this feature.

↔️Median JavaScript Bridge

To start the background audio service:

median.backgroundAudio.start();

To stop the background audio service:

median.backgroundAudio.stop();