Instance Property

stateUpdateHandler

A handler that receives browser state updates.

Declaration

final var stateUpdateHandler: ((NWBrowser.State) -> Void)? { get set }

See Also

Managing Browsers

enum NWBrowser.State

States indicating whether a browser is able to discover services.

var state: NWBrowser.State

The current state of the browser.

func cancel()

Stops browsing for services.