<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WASubscriberBrowser/Devices",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware19WASubscriberBrowserV7DevicesV"
  },
  "title" : "WASubscriberBrowser.Devices"
}
-->

# WASubscriberBrowser.Devices

The structure that determines the devices to connect to.

```
struct Devices
```

## 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:

```swift
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(_:)`](/documentation/WiFiAware/WASubscriberBrowser/Devices/selected(_:)-8myz8)

Includes only the preselected paired devices in the provided dictionary.

[`selected(_:)`](/documentation/WiFiAware/WASubscriberBrowser/Devices/selected(_:)-5arv0)

Includes only the preselected paired devices in the provided list.

[`userSpecifiedDevices`](/documentation/WiFiAware/WASubscriberBrowser/Devices/userSpecifiedDevices)

Includes only devices the user selects or pairs in DeviceDiscoveryUI’s `DevicePicker()`.

### Using a live matching filter

[`matching(_:)`](/documentation/WiFiAware/WASubscriberBrowser/Devices/matching(_:))

Includes only paired devices matching the provided live filter predicate.

### Connecting to all paired devices

[`allPairedDevices`](/documentation/WiFiAware/WASubscriberBrowser/Devices/allPairedDevices)

The property that includes all paired devices that your app has access to.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)