---
title: WASubscriberBrowser.Devices
framework: wifiaware
role: symbol
role_heading: Structure
path: wifiaware/wasubscriberbrowser/devices
---

# WASubscriberBrowser.Devices

The structure that determines the devices to connect to.

## Declaration

```swift
struct Devices
```

## Overview

Overview This structure determines the devices the NetworkBrowser acts on when subscribing, such as which devices to try to connect to. It allows your app to include only the devices that are relevant for a given NetworkBrowser operation and use case. Devices is the to: component of the .wifiAware() instruction to a NetworkBrowser. The code below is an example of configuring a NetworkBrowser with specific devices to connect to: NetworkBrowser(for: .wifiAware( .connecting(to:.selected(devices),  from:service) ) ) important: Only include the devices your app intends to use with the use case. Including unnecessary devices may impose additional power and performance costs on both the local and remote devices, and may reduce privacy.

## Topics

### Selecting devices to connect to

- [selected(_:)](wifiaware/wasubscriberbrowser/devices/selected(_:)-8myz8.md)
- [selected(_:)](wifiaware/wasubscriberbrowser/devices/selected(_:)-5arv0.md)
- [userSpecifiedDevices](wifiaware/wasubscriberbrowser/devices/userspecifieddevices.md)

### Using a live matching filter

- [matching(_:)](wifiaware/wasubscriberbrowser/devices/matching(_:).md)

### Connecting to all paired devices

- [allPairedDevices](wifiaware/wasubscriberbrowser/devices/allpaireddevices.md)

## Relationships

### Conforms To

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

## See Also

### Subscriber

- [WASubscriberBrowser](wifiaware/wasubscriberbrowser.md)
- [WASubscriberBrowser.Action](wifiaware/wasubscriberbrowser/action.md)
