Instance Property


The playback rate of the player.


var rate: Float { get set }


The default value is 1.0, normal playback rate.

See Also

Playing Content

func prepareToPlay()

Prepares to play the sequence by prerolling all events.

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.