GLib.NetworkMonitor – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
NetworkMonitor
network_available
get_default
can_reach
can_reach_async
get_network_available
network_changed
NetworkMonitor
Object Hierarchy:
Description:
public
interface
NetworkMonitor
:
Object
,
Initable
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
abstract
bool
network_available
{
get
; }
Static methods:
public
static
weak
NetworkMonitor
get_default
()
Methods:
public
abstract
bool
can_reach
(
SocketConnectable
connectable,
Cancellable
? cancellable =
null
)
throws
Error
public
abstract
async
bool
can_reach_async
(
SocketConnectable
connectable,
Cancellable
? cancellable =
null
)
throws
Error
public
bool
get_network_available
()
Signals:
public
virtual
signal
void
network_changed
(
bool
available)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count
All known members inherited from interface GLib.Initable
@new
new_valist
newv
init