networkEndpoint
An object that describes a local-network device.
Declaration
var networkEndpoint: NWEndpoint? { get set }Discussion
For the discovery of local-network devices, the extension sets the value of this property to the endpoint of an NWBrowser.Result. When a search over the local network succeeds, the browser passes the newly discovered device into your extension’s browseResultsChangedHandler.