WASubscriberBrowser.Devices
The structure that determines the devices to connect to.
Declaration
struct DevicesOverview
This structure determines the devices the NetworkBrowser acts on when subscribing, such as which devices to try to connect to. It allows your app to include only the devices that are relevant for a given NetworkBrowser operation and use case.
Devices is the to: component of the .wifiAware() instruction to a NetworkBrowser.
The code below is an example of configuring a NetworkBrowser with specific devices to connect to:
NetworkBrowser(for: .wifiAware( .connecting(to:.selected(devices), from:service) ) )