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

# WASubscriberBrowser

The structure that configures a network browser to subscribe to a Wi-Fi Aware service and make outgoing connections to paired devices.

```
struct WASubscriberBrowser
```

## Overview

Devices can subscribe to services provided by other Wi-Fi Aware devices by creating a `NetworkBrowser` object from the
[Network](https://developer.apple.com/documentation/Network) framework, and passing in a `.wifiAware()` instruction indicating the
`WASubscribableService` to look for, and the set of `WAPairedDevice` to find it on.

The code below configures the `NetworkBrowser` as a Wi-Fi Aware subscriber by passing in a `.wifiAware()` instruction:

```swift
NetworkBrowser(for: .wifiAware( .connecting(to:.selected(devices),  from:service) ) )
```

## Topics

### Configuring a browser

[`Action`](/documentation/WiFiAware/WASubscriberBrowser/Action)

The structure that configures the Wi-Fi Aware subscriber operation the network browser performs.

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

The structure that determines the devices to connect to.

### Processing Wi-Fi Aware subscribe results

[`Endpoint`](/documentation/WiFiAware/WASubscriberBrowser/Endpoint)

A result for each discovered Wi-Fi Aware device.

### Creating browser implementation details

[`makeDescriptor()`](/documentation/WiFiAware/WASubscriberBrowser/makeDescriptor())

Makes a descriptor that can create a network browser for a Wi-Fi Aware subscribe operation.

[`configureParameters(_:)`](/documentation/WiFiAware/WASubscriberBrowser/configureParameters(_:))

Returns the parameters to use to configure the Wi-Fi Aware subscriber and the subsequent connection.

[`makeEndpoint(from:)`](/documentation/WiFiAware/WASubscriberBrowser/makeEndpoint(from:))

Creates a connectable Wi-Fi Aware endpoint from a browse result.

## Relationships

### Conforms To

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

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

[`BrowserProvider`](/documentation/Network/BrowserProvider)

---

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)