MM.BearerStats – libmm-glib Reference Manual
Packages
libmm-glib
MM
BearerStats
BearerStats
get_attempts
get_downlink_speed
get_duration
get_failed_attempts
get_rx_bytes
get_start_date
get_total_duration
get_total_rx_bytes
get_total_tx_bytes
get_tx_bytes
get_uplink_speed
BearerStats
Object Hierarchy:
Description:
[
CCode
( type_id =
"mm_bearer_stats_get_type ()"
) ]
public
class
BearerStats
:
Object
The
BearerStats
structure contains private data and should only be accessed using the provided API.
Namespace:
MM
Package:
libmm-glib
Content:
Creation methods:
protected
BearerStats
()
Methods:
public
uint
get_attempts
()
Gets the number of connection attempts done with this bearer.
public
uint64
get_downlink_speed
()
Gets the speed of the downlink, in bits per second.
public
uint
get_duration
()
Gets the duration of the current connection, in seconds.
public
uint
get_failed_attempts
()
Gets the number of failed connection attempts done with this bearer.
public
uint64
get_rx_bytes
()
Gets the number of bytes received without error in the connection.
public
uint64
get_start_date
()
Gets the start date of the current connection as a timestamp in seconds since the epoch.
public
uint
get_total_duration
()
Gets the total duration of all the connections of this bearer.
public
uint64
get_total_rx_bytes
()
Gets the total number of bytes received without error during all the connections of this bearer.
public
uint64
get_total_tx_bytes
()
Gets the total number of bytes transmitted without error during all the connections of this bearer.
public
uint64
get_tx_bytes
()
Gets the number of bytes transmitted without error in the connection.
public
uint64
get_uplink_speed
()
Gets the speed of the uplink, in bits per second.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref