[ Version ( since = "1.4" ) ]
public unowned Variant get_variant (string key, out SettingSource source)
Gets the value of the configuration setting key.
| this |
the AccountService. |
| key |
the name of the setting to retrieve. |
| source |
a pointer to an SettingSource variable which will tell whether the setting was retrieved from the accounts DB or from a service template. |
|
a Variant holding the setting value, or null
. The returned Variant is owned by the account, and no guarantees
are made about its lifetime. If the client wishes to keep it, it should call |