Contents

WASubscriberBrowser.Action

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

Declaration

struct Action

Overview

The configuration includes the service and devices it operates on.

The WASubscriberBrowser.Action is the first component of the .wifiAware() instruction to a NetworkBrowser.

The code below is an example of creating a NetworkBrowser:

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

Topics

Creating a browser

See Also

Subscriber