---
title: NINearbyObject.RemovalReason.timeout
framework: nearbyinteraction
role: symbol
role_heading: Case
path: nearbyinteraction/ninearbyobject/removalreason/timeout
---

# NINearbyObject.RemovalReason.timeout

NI timed out the session.

## Declaration

```swift
case timeout
```

## Discussion

Discussion The framework times out a session if the peer user closes the app, or if too much time passes in a suspended state (see sessionWasSuspended(_:)). NI may also time out a session to save device resources. An app must watch for timed-out peers. If the app wishes to continue interaction with a timed-out peer device, the app must begin a new session.

## See Also

### Reasons

- [NINearbyObject.RemovalReason.peerEnded](nearbyinteraction/ninearbyobject/removalreason/peerended.md)
- [NINearbyObject.RemovalReason.peerEnded](nearbyinteraction/ninearbyobject/removalreason/peerended.md)
