android-components / mozilla.components.feature.media.ext / pauseIfPlaying

pauseIfPlaying

fun MediaState.pauseIfPlaying(): Unit (source)

If this state is MediaState.State.PLAYING then pause all playing Media.