Starts monitoring path changes.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
void nw_path_monitor_start(nw _path _monitor _t monitor);
Starts monitoring path changes.
SDKs
Framework
void nw_path_monitor_start(nw _path _monitor _t monitor);
nw _path _monitor _create
Initializes a path monitor to observe all available interface types.
nw _path _monitor _create _with _type
Initializes a path monitor to observe a specific interface type.
nw _path _monitor _set _queue
Sets a queue on which to deliver path events.