pause

fun pause()

Pauses playback.

Cancels any in-flight playAsync and clears desiredPlaying so a late session AudioPlaybackSession.State.Playing cannot overwrite the pause.