---
title: SpatialPreviewEndpoint
framework: spatialpreview
role: symbol
role_heading: Structure
path: spatialpreview/spatialpreviewendpoint
---

# SpatialPreviewEndpoint

An endpoint representing a destination that that can be connected to

## Declaration

```swift
struct SpatialPreviewEndpoint
```

## Relationships

### Conforms To

- [CustomReflectable](swift/customreflectable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Nearby devices

- [SpatialPreviewDevicePicker](spatialpreview/spatialpreviewdevicepicker.md)
- [ConnectedSpatialEndpointObserver](spatialpreview/connectedspatialendpointobserver.md)
