---
title: SpatialPreviewDevicePicker
framework: spatialpreview
role: symbol
role_heading: Structure
path: spatialpreview/spatialpreviewdevicepicker
---

# SpatialPreviewDevicePicker

Presents nearby companion devices and allows the user to make a selection.

## Declaration

```swift
@MainActor @preconcurrency struct SpatialPreviewDevicePicker
```

## Topics

### Initializers

- [init(isPresented:onSelect:)](spatialpreview/spatialpreviewdevicepicker/init(ispresented:onselect:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [View](swiftui/view.md)

## See Also

### Nearby devices

- [SpatialPreviewEndpoint](spatialpreview/spatialpreviewendpoint.md)
- [ConnectedSpatialEndpointObserver](spatialpreview/connectedspatialendpointobserver.md)
