stop()
Stops playback of the audio resource and discards the location in the audio stream.
Declaration
@MainActor @preconcurrency func stop()Discussion
The next time you call play(), playback starts at the beginning of the stream.
Stops playback of the audio resource and discards the location in the audio stream.
@MainActor @preconcurrency func stop()The next time you call play(), playback starts at the beginning of the stream.