Contents

start(atTime:)

Starts playing the pattern at the specified time.

Declaration

func start(atTime time: TimeInterval) throws

Parameters

  • time:

    The time from which to start playing the pattern.

Mentioned in

Discussion

If time is 0 or any value less than the haptic engine’s currentTime, the pattern starts playing immediately. If you call this method on a player that’s already playing, it restarts itself at the beginning of the pattern.

See Also

Starting and Stopping Playback