Instance Property

duration

The length of the currently loaded file, in seconds.

Declaration

var duration: TimeInterval { get }

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 currentPosition: TimeInterval

The current playback position, in seconds.

var rate: Float

The playback rate of the player.