peek_stats


Description:

[ Version ( since = "1.6" ) ]
public unowned BearerStats peek_stats ()

Gets a BearerStats object specifying the statistics of the current bearer connection.

Warning:

The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use get_stats if on another thread.

Parameters:

this

A Bearer.

Returns:

A BearerStats. Do not free the returned value, it belongs to this.