Instance Method

cancel()

Stops browsing for services.

Declaration

final func cancel()

See Also

Managing Browsers

var stateUpdateHandler: ((NWBrowser.State) -> Void)?

A handler that receives browser state updates.

enum NWBrowser.State

States indicating whether a browser is able to discover services.

var state: NWBrowser.State

The current state of the browser.