Contents

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 NWBrowser operation.

Return Value

A WAEndpoint that you can connect to, or nil if it can’t be created.

Discussion

See Also

Creating browser implementation details