ref_network_monitor
Description:
References a NetworkMonitor instance, which had been previously set by set_network_monitor.
If none is set, then the default NetworkMonitor is returned, as provided by get_default. The returned pointer is referenced for thread safety, unref it with unref when no longer needed.
Parameters:
this |
a Session |
Returns:
A referenced NetworkMonitor instance to use for network availability tests. |