stop(atTime:)
Stops playing the pattern at the specified time.
Declaration
func stop(atTime time: TimeInterval) throwsParameters
- 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.