---
title: CHHapticEngine.StoppedReason.notifyWhenFinished
framework: corehaptics
role: symbol
role_heading: Case
path: corehaptics/chhapticengine/stoppedreason/notifywhenfinished
---

# CHHapticEngine.StoppedReason.notifyWhenFinished

You’ve asked the system to notify you when it shuts down the engine.

## Declaration

```swift
case notifyWhenFinished
```

## Discussion

Discussion Restart the engine before starting another pattern player.

## See Also

### Stopped Reasons

- [CHHapticEngine.StoppedReason.audioSessionInterrupt](corehaptics/chhapticengine/stoppedreason/audiosessioninterrupt.md)
- [CHHapticEngine.StoppedReason.applicationSuspended](corehaptics/chhapticengine/stoppedreason/applicationsuspended.md)
- [CHHapticEngine.StoppedReason.engineDestroyed](corehaptics/chhapticengine/stoppedreason/enginedestroyed.md)
- [CHHapticEngine.StoppedReason.gameControllerDisconnect](corehaptics/chhapticengine/stoppedreason/gamecontrollerdisconnect.md)
- [CHHapticEngine.StoppedReason.idleTimeout](corehaptics/chhapticengine/stoppedreason/idletimeout.md)
- [CHHapticEngine.StoppedReason.systemError](corehaptics/chhapticengine/stoppedreason/systemerror.md)
