Contents

pause()

Pauses playback of the audio resource while maintaining the position in the audio stream.

Declaration

@MainActor @preconcurrency func pause()

Discussion

Resume playback of a paused audio resource by calling the play() method.

See Also

Starting and stopping audio playback