Function

nw_path_monitor_set_cancel_handler

Sets a handler to determine when a monitor is fully cancelled and will no longer deliver events.

Declaration

void nw_path_monitor_set_cancel_handler(nw_path_monitor_t monitor, nw_path_monitor_cancel_handler_t cancel_handler);

See Also

Canceling Path Monitors

nw_path_monitor_cancel

Stops receiving network path updates.

nw_path_monitor_cancel_handler_t

A handler that indicates when a monitor has been cancelled.