Gio.NetworkMonitor.get_default

function get_default(): Gio.NetworkMonitor {
    // Gjs wrapper for g_network_monitor_get_default()
}
  

Gets the default Gio.NetworkMonitor for the system.

Since 2.32

Returns

a Gio.NetworkMonitor