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

# WAPairedDevice

A known Wi-Fi Aware device that your app can connect to.

```
struct WAPairedDevice
```

## Overview

Your app may request the system securely pair and grant access to remote devices. Use
[AccessorySetupKit](https://developer.apple.com/documentation/accessorysetupkit/) or
[DeviceDiscoveryUI](https://developer.apple.com/documentation/devicediscoveryui)
to add the devices to the set of `WAPairedDevice.Devices` that your app may connect to on-demand.
The list of paired devices can change over time as a person adds and removes devices from the system.

## Topics

### Selecting from your app’s paired devices

[`Devices`](/documentation/WiFiAware/WAPairedDevice/Devices)

A dictionary holding a snapshot of currently paired devices accessible and known to your app.

[`allDevices`](/documentation/WiFiAware/WAPairedDevice/allDevices)

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

[`allDevices(matching:)`](/documentation/WiFiAware/WAPairedDevice/allDevices(matching:))

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

[`DevicesSequence`](/documentation/WiFiAware/WAPairedDevice/DevicesSequence)

A sequence that vends updates to a paired device list, as the list changes.

### Getting the app-specific identifier

[`ID`](/documentation/WiFiAware/WAPairedDevice/ID-swift.typealias)

A type of value that uniquely identifies the paired device.

[`id`](/documentation/WiFiAware/WAPairedDevice/id-swift.property)

A stable ID that you can use to uniquely identify a device.

### Getting the configured device name

[`name`](/documentation/WiFiAware/WAPairedDevice/name)

The user-provided name of the device as a string, or `nil` if not available.

### Getting pairing-related device data

[`pairingInfo`](/documentation/WiFiAware/WAPairedDevice/pairingInfo-swift.property)

The unauthenticated information provided by the device before a person pairs it for the first time.

[`PairingInfo`](/documentation/WiFiAware/WAPairedDevice/PairingInfo-swift.struct)

A collection of unauthenticated information the system receives from a device before it’s paired for the first time.

### Getting a string description

[`description`](/documentation/WiFiAware/WAPairedDevice/description)

A string description of the publisher.

### Creating a device

### Encoding

### Comparing results

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)