Instance Property

isPlaying

A Boolean value that indicates whether or not the sequencer's player is playing.

Declaration

var isPlaying: Bool { get }

Discussion

Returns true if the sequencer's player has been started and not stopped. It may have played past the end of the events in the sequence, but it is still considered to be playing (with its time value increasing) until it is explicitly stopped.

See Also

Getting Sequence Properties

func data(withSMPTEResolution: Int, error: NSErrorPointer) -> Data

Returns a data object containing the events from the sequence.

var currentPositionInBeats: TimeInterval

The current playback position in beats.

var currentPositionInSeconds: TimeInterval

The current playback position, in seconds.

var rate: Float

The playback rate of the sequencer's player.

var tracks: [AVMusicTrack]

An array containing all the tracks in the sequence.

var userInfo: [String : Any]

A dictionary containing metadata derived from a sequence.