Network
Monitor
Interface
constructor
g_
iface
name
can_
reach
can_
reach_
async
can_
reach_
finish
network_
changed
GJS API Reference
Gio-2.0
Gio
NetworkMonitorInterface
Class NetworkMonitorInterface
The virtual function table for #GNetworkMonitor.
record
Hierarchy
NetworkMonitorInterface
Index
Constructors
constructor
Properties
g_
iface
name
Methods
can_
reach
can_
reach_
async
can_
reach_
finish
network_
changed
Constructors
constructor
new
Network
Monitor
Interface
(
)
:
NetworkMonitorInterface
Returns
NetworkMonitorInterface
Properties
g_
iface
g_
iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
can_
reach
can_
reach
(
monitor
:
Gio
.
NetworkMonitor
, connectable
:
SocketConnectable
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
monitor:
Gio
.
NetworkMonitor
connectable:
SocketConnectable
cancellable:
Gio
.
Cancellable
Returns
boolean
can_
reach_
async
can_
reach_
async
(
monitor
:
Gio
.
NetworkMonitor
, connectable
:
SocketConnectable
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
monitor:
Gio
.
NetworkMonitor
connectable:
SocketConnectable
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
can_
reach_
finish
can_
reach_
finish
(
monitor
:
Gio
.
NetworkMonitor
, result
:
AsyncResult
)
:
boolean
Parameters
monitor:
Gio
.
NetworkMonitor
result:
AsyncResult
Returns
boolean
network_
changed
network_
changed
(
monitor
:
Gio
.
NetworkMonitor
, network_available
:
boolean
)
:
void
Parameters
monitor:
Gio
.
NetworkMonitor
network_available:
boolean
Returns
void
Network
Monitor
Interface
constructor
g_
iface
name
can_
reach
can_
reach_
async
can_
reach_
finish
network_
changed
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5OZXR3b3JrTW9uaXRvckludG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