Type Alias

CHHapticEngine.FinishedHandler

A type alias for a completion handler to execute after finishing haptic playback.

Declaration

typealias FinishedHandler = (Error?) -> CHHapticEngine.FinishedAction

See Also

Monitoring Finished Playback

func notifyWhenPlayersFinished(finishedHandler: CHHapticEngine.FinishedHandler)

Notifies you when all haptic pattern players have finished playing their haptic patterns.

enum CHHapticEngine.FinishedAction

Possible actions to take after the haptic engine finishes execution.