Contents

stop(atTime:)

Stops playing the pattern at the specified time.

Declaration

func stop(atTime time: TimeInterval) throws

Parameters

  • time:

    The time at which to stop playing the pattern.

Discussion

If time is 0 or any value less than the haptic engine’s currentTime, the pattern stops playing immediately.

See Also

Starting and Stopping Playback