Instance Method

data(withSMPTEResolution:error:)

Returns a data object containing the events from the sequence.

Declaration

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

Discussion

The returned NSData lifetime is controlled by the client.

See Also

Getting Sequence Properties

var currentPositionInBeats: TimeInterval

The current playback position in beats.

var currentPositionInSeconds: TimeInterval

The current playback position, in seconds.

var isPlaying: Bool

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

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.