muteBackgroundAudio

fun muteBackgroundAudio(audioPlayingCallback: (playing: Boolean) -> Unit = {})

Mutes and pauses the background audio if possible, and alerts if background audio starts playing.

Parameters

audioPlayingCallback

A callback to notify when the background audio starts playing.