Instance Method


Prepares to play the sequence by prerolling all events.


func prepareToPlay()


This happens automatically on play if it has not already been called, but may produce a delay in startup.

See Also

Playing Content

var isPlaying: Bool

A Boolean value that indicates whether the sequence is playing.

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.