Enumeration

CHHapticEngine.FinishedAction

Possible actions to take after the haptic engine finishes execution.

Declaration

enum FinishedAction : Int

Topics

Action Enumerations

case leaveEngineRunning

Keeps the engine running after it finishes playing all haptic patterns.

case stopEngine

Stops the engine after it finishes playing all haptic patterns.

See Also

Monitoring Finished Playback

func notifyWhenPlayersFinished(finishedHandler: CHHapticEngine.FinishedHandler)

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

typealias CHHapticEngine.FinishedHandler

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