WASubscriberBrowser
The structure that configures a network browser to subscribe to a Wi-Fi Aware service and make outgoing connections to paired devices.
Declaration
struct WASubscriberBrowserOverview
Devices can subscribe to services provided by other Wi-Fi Aware devices by creating a NetworkBrowser object from the 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:
NetworkBrowser(for: .wifiAware( .connecting(to:.selected(devices), from:service) ) )