Instance Method

resume(atTime:)

Resumes playing a paused haptic.

Required.

Declaration

func resume(atTime time: TimeInterval) throws

Parameters

time

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

outError

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

See Also

Controlling Playback

func pause(atTime: TimeInterval)

Pauses the haptic player during playback.

Required.

func seek(toOffset: TimeInterval)

Jumps to the specified offset time in playing the haptic.

Required.