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

# WASubscriberBrowser.Action

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

```
struct Action
```

## Overview

The configuration includes the service and devices it operates on.

The [`WASubscriberBrowser.Action`](/documentation/WiFiAware/WASubscriberBrowser/Action) is the first component of the `.wifiAware()` instruction to a `NetworkBrowser`.

The code below is an example of creating a `NetworkBrowser`:

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

## Topics

### Creating a browser

[`static func connecting(to: WASubscriberBrowser.Devices, from: WASubscribableService) -> WASubscriberBrowser.Action`](/documentation/WiFiAware/WASubscriberBrowser/Action/connecting(to:from:))

Subscribes to the provided service over Wi-Fi, providing browse results for connecting to the specified paired devices if available.

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