makeEndpoint(from:)
Creates a connectable Wi-Fi Aware endpoint from a browse result.
Declaration
func makeEndpoint(from browseResult: NWBrowser.Result) throws -> WASubscriberBrowser.Endpoint?Parameters
- browseResult:
The result of the
NWBrowseroperation.
Return Value
A WAEndpoint that you can connect to, or nil if it can’t be created.