asv_get_double
Description:
[ Version ( since = "0.7.9" ) ]
public double asv_get_double (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present and has any numeric type used by dbus-glib (guchar, gint, guint, gint64, guint64
or gdouble), return it as a double, and if valid
is not null
, set *valid
to true
.
Otherwise, return 0.0, and if valid
is not null
, set *valid
to false
.
Parameters:
asv |
A GHashTable where the keys are strings and the values are GValues |
key |
The key to look up |
valid |
Either |
Returns:
the double precision floating-point value of |
Namespace: TelepathyGLib
Package: telepathy-glib