set_gio_name


Description:

public void set_gio_name (string? gio_name)

Set a gio_name of the NetworkMonitor implementation to use, can be null.

Use list_gio_names for a list of available implementations. A special value, NETWORK_MONITOR_ALWAYS_ONLINE_NAME, can be used to report the network as always reachable. When an unknown GIO name is used the default NetworkMonitor implementation, as returned by the get_default, will be used.

Parameters:

this

an NetworkMonitor

gio_name

a GIO name of a NetworkMonitor implementation to use, or null




2022 vala-language.org