---
title: CHHapticEngine.FinishedHandler
framework: corehaptics
role: symbol
role_heading: Type Alias
path: corehaptics/chhapticengine/finishedhandler
---

# CHHapticEngine.FinishedHandler

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

## Declaration

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

## See Also

### Monitoring Finished Playback

- [notifyWhenPlayersFinished(finishedHandler:)](corehaptics/chhapticengine/notifywhenplayersfinished(finishedhandler:).md)
- [CHHapticEngine.FinishedAction](corehaptics/chhapticengine/finishedaction.md)
