NetworkMonitorIfaceProxy

Proxy object for Gio.NetworkMonitor interface when a GObject has no applicable D binding

class NetworkMonitorIfaceProxy : IfaceProxy , NetworkMonitor {}

Mixed In Members

From mixin NetworkMonitorT!()

canReach
bool canReach(gio.socket_connectable.SocketConnectable connectable, gio.cancellable.Cancellable cancellable)

Attempts to determine whether or not the host pointed to by connectable can be reached, without actually trying to connect to it.

canReachAsync
void canReachAsync(gio.socket_connectable.SocketConnectable connectable, gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback)

Asynchronously attempts to determine whether or not the host pointed to by connectable can be reached, without actually trying to connect to it.

canReachFinish
bool canReachFinish(gio.async_result.AsyncResult result)

Finishes an async network connectivity test. See gio.network_monitor.NetworkMonitor.canReachAsync.

getConnectivity
gio.types.NetworkConnectivity getConnectivity()

Gets a more detailed networking state than gio.network_monitor.NetworkMonitor.getNetworkAvailable.

getNetworkAvailable
bool getNetworkAvailable()

Checks if the network is available. "Available" here means that the system has a default route available for at least one of IPv4 or IPv6. It does not necessarily imply that the public Internet is reachable. See #GNetworkMonitor:network-available for more details.

getNetworkMetered
bool getNetworkMetered()

Checks if the network is metered. See #GNetworkMonitor:network-metered for more details.

connectNetworkChanged
ulong connectNetworkChanged(T callback, Flag!"After" after)

Connect to NetworkChanged signal.

Inherited Members

From NetworkMonitor

getDefault
gio.network_monitor.NetworkMonitor getDefault()

Gets the default #GNetworkMonitor for the system.

canReach
bool canReach(gio.socket_connectable.SocketConnectable connectable, gio.cancellable.Cancellable cancellable)

Attempts to determine whether or not the host pointed to by connectable can be reached, without actually trying to connect to it.

canReachAsync
void canReachAsync(gio.socket_connectable.SocketConnectable connectable, gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback)

Asynchronously attempts to determine whether or not the host pointed to by connectable can be reached, without actually trying to connect to it.

canReachFinish
bool canReachFinish(gio.async_result.AsyncResult result)

Finishes an async network connectivity test. See gio.network_monitor.NetworkMonitor.canReachAsync.

getConnectivity
gio.types.NetworkConnectivity getConnectivity()

Gets a more detailed networking state than gio.network_monitor.NetworkMonitor.getNetworkAvailable.

getNetworkAvailable
bool getNetworkAvailable()

Checks if the network is available. "Available" here means that the system has a default route available for at least one of IPv4 or IPv6. It does not necessarily imply that the public Internet is reachable. See #GNetworkMonitor:network-available for more details.

getNetworkMetered
bool getNetworkMetered()

Checks if the network is metered. See #GNetworkMonitor:network-metered for more details.

connectNetworkChanged
ulong connectNetworkChanged(T callback, Flag!"After" after)

Connect to NetworkChanged signal.