Contents

MusicEventIteratorDeleteEvent(_:)

Deletes the event at a music event iterator’s current position.

Declaration

func MusicEventIteratorDeleteEvent(_ inIterator: MusicEventIterator) -> OSStatus

Parameters

  • inIterator:

    The music event iterator whose current event you want to delete.

Return Value

A result code.

Discussion

After calling this function, the music event iterator points to the event that follows the deleted event—if there is such an event. If the event you deleted was the final event, the iterator is then positioned immediately beyond the final event of the music track.

See Also

Iterating Over Music Events