Contents

sendParameters(_:atTime:)

Sends an array of haptic parameters, starting at the specified time.

Declaration

func sendParameters(_ parameters: [CHHapticDynamicParameter], atTime time: TimeInterval) throws

Parameters

  • parameters:

    An array of dynamic parameters to send together.

  • time:

    The time at which to send the dynamic parameters.

Discussion

If time is 0 or any value less than the haptic engine’s currentTime, this method sends parameters immediately.

See Also

Sending Parameters to a Haptic