Function

nw_path_monitor_create()

Initializes a path monitor to observe all available interface types.

Declaration

func nw_path_monitor_create() -> nw_path_monitor_t

See Also

Creating Path Monitors

func nw_path_monitor_create_with_type(nw_interface_type_t) -> nw_path_monitor_t

Initializes a path monitor to observe a specific interface type.

func nw_path_monitor_set_queue(nw_path_monitor_t, DispatchQueue)

Sets a queue on which to deliver path events.

func nw_path_monitor_start(nw_path_monitor_t)

Starts monitoring path changes.