AccountService
Object Hierarchy:
Description:
Opaque structure.
Use related accessor functions.
Namespace: Ag
Package: libaccounts-glib
Content:
Properties:
- public Account account { get; construct; }
The Account used by the account service.
- public Service service { get; construct; }
The Service used by the account service.
Static methods:
- public static bool settings_iter_next (AccountSettingIter iter, out unowned string key, out Value value)
Iterates over the account keys.
Creation methods:
- public AccountService (owned Account account, owned Service? service)
Constructor.
Methods:
- public unowned Account get_account ()
Get the Account associated with this.
- public AuthData get_auth_data ()
Reads the authentication data stored in the account (merging the service-specific settings with the global account settings) and returns an AuthData structure.
- public string[] get_changed_fields ()
This method should be called only in the context of a handler of the changed signal, and can be used to retrieve the set of changes.
- public bool get_enabled ()
- public unowned Service get_service ()
Get the Service associated with this.
- public AccountSettingIter get_settings_iter (string? key_prefix)
Creates a new iterator.
- public SettingSource get_value (string key, ref Value value)
Gets the value of the configuration setting
key
:value
must be a Value initialized to the type of the setting. - public unowned Variant get_variant (string key, out SettingSource? source)
Gets the value of the configuration setting
key
. - public void set_value (string key, Value? value)
Sets the value of the configuration setting
key
to the valuevalue
. - public void set_variant (string key, Variant? value)
Sets the value of the configuration setting
key
to the valuevalue
. - public void settings_iter_init (AccountSettingIter iter, string? key_prefix)
Initializes
iter
to iterate over the account settings.
Signals:
- public signal void changed ()
Emitted when some setting has changed on the account service.
- public signal void enabled (bool enabled)
Emitted when the service enabled state changes.
Inherited Members:
All known members inherited from class GLib.Object