<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WAPairedDevice/allDevices",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware14WAPairedDeviceV10allDevicesAC0G8SequenceVvpZ"
  },
  "title" : "allDevices"
}
-->

# allDevices

Provides a snapshot of all the paired devices known to your app.

```
static var allDevices: WAPairedDevice.DevicesSequence { get }
```

## Return Value

A new [`WAPairedDevice.DevicesSequence`](/documentation/WiFiAware/WAPairedDevice/DevicesSequence) that returns [`WAPairedDevice.Devices`](/documentation/WiFiAware/WAPairedDevice/Devices) elements holding a snapshot of the currently paired devices known to the app.

## Discussion

This property gets an `AsyncSequence` and provides updates with a new [`WAPairedDevice.Devices`](/documentation/WiFiAware/WAPairedDevice/Devices)
snapshot when the set of paired devices known to your app changes.
The sequence outputs an empty dictionary if there are no paired devices known to your app, or if a person removes all of your app’s paired devices.

You can select the set of `Devices` from this property using the following code snippet:

```swift
// Get a snapshot of all paired devices at the current moment.
guard let devices = try await WAPairedDevice.allDevices.current() { return }

// Get a snapshot of all paired devices at the current moment, and a new snapshot each time a device is added, changed, or removed.
for try await devices in WAPairedDevice.allDevices {
	// Process update.
}
```

---

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)