Instance Property


A Boolean value that indicates whether the sequence is playing.


var isPlaying: Bool { get }


The player may have reached the end of all the events in any of its tracks, but it will return true until it is stopped.

See Also

Playing Content

func prepareToPlay()

Prepares to play the sequence by prerolling all events.

func stop()

Stops playing the sequence.

var duration: TimeInterval

The length of the currently loaded file, in seconds.

var currentPosition: TimeInterval

The current playback position, in seconds.

var rate: Float

The playback rate of the player.