Instance Method

pause(atTime:)

Pauses the haptic player during playback.

Required.

Declaration

func pause(atTime time: TimeInterval) throws

Parameters

time

The time in the haptic pattern at which to pause playback.

outError

The error to throw in case the player couldn't pause.

See Also

Controlling Playback

func resume(atTime: TimeInterval)

Resumes playing a paused haptic.

Required.

func seek(toOffset: TimeInterval)

Jumps to the specified offset time in playing the haptic.

Required.