Instance Method


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


func pause()


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

See Also

Starting and Stopping Audio Playback

func play()

Plays the audio resource.

func stop()

Stops playback of the audio resource and discards the location in the audio stream.

var isPlaying: Bool

A Boolean that indicates whether playback is currently active.