Instance Method

notifyWhenPlayersFinished(finishedHandler:)

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

Declaration

func notifyWhenPlayersFinished(finishedHandler: @escaping CHHapticEngine.FinishedHandler)

Parameters

finishedHandler

A block to execute when all players have finished playback.

See Also

Monitoring Finished Playback

typealias CHHapticEngine.FinishedHandler

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

enum CHHapticEngine.FinishedAction

Possible actions to take after the haptic engine finishes execution.