---
title: close()
framework: proximityreader
role: symbol
role_heading: Instance Method
path: proximityreader/customerengagementsession/close()
---

# close()

Closes the engagement session.

## Declaration

```swift
final func close() async throws
```

## Mentioned in

Adding support for Tap to Share to your app

## Discussion

Discussion When this device disconnects, any paired device that is still connected receives a notification to close its side of the session.

## See Also

### Configuring a session

- [CustomerEngagementSession.Configuration](proximityreader/customerengagementsession/configuration-swift.struct.md)
- [configuration](proximityreader/customerengagementsession/configuration-swift.property.md)
- [open(using:)](proximityreader/customerengagementsession/open(using:).md)
- [CustomerEngagementSession.Token](proximityreader/customerengagementsession/token-swift.struct.md)
