Top |
FolksLocalIdDetailsFolksLocalIdDetails — This interface represents the list of "iid"s corresponding to FolksPersonas from backends with write support so that they can be linked. |
This is necessary so that personas from the same backend can be linked together even if they have no other linkeable properties set.
void folks_local_id_details_change_local_ids (FolksLocalIdDetails *self
,GeeSet *local_ids
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's local IDs.
It's preferred to call this rather than setting "local-ids" directly, as this method gives error notification and will only return once the local IDs have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the local IDs failed
See also: folks_local_id_details_change_local_ids_finish()
self |
the FolksLocalIdDetails instance |
|
local_ids |
. the set of local IDs . |
[in] |
_callback_ |
callback to call when the request is satisfied. |
[scope async] |
_user_data_ |
the data to pass to |
[closure] |
Since 0.6.2
void folks_local_id_details_change_local_ids_finish (FolksLocalIdDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's local IDs.
It's preferred to call this rather than setting "local-ids" directly, as this method gives error notification and will only return once the local IDs have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the local IDs failed
See also: folks_local_id_details_change_local_ids()
self |
the FolksLocalIdDetails instance |
|
_res_ |
||
error |
location to store the error occuring, or |
[error-domains FolksPropertyError] |
Since 0.6.2
GeeSet *
folks_local_id_details_get_local_ids (FolksLocalIdDetails *self
);
Get and return the current value of the "local-ids" property.
The IIDs corresponding to FolksPersonas in a backend that we fully trust.
Since 0.5.1
void folks_local_id_details_set_local_ids (FolksLocalIdDetails *self
,GeeSet *value
);
Set the value of the "local-ids" property to value
.
The IIDs corresponding to FolksPersonas in a backend that we fully trust.
self |
the FolksLocalIdDetails instance to modify |
|
value |
the new value of the "local-ids" property |
Since 0.5.1
typedef struct _FolksLocalIdDetails FolksLocalIdDetails;
This interface represents the list of "iid"s corresponding to FolksPersonas from backends with write support so that they can be linked.
This is necessary so that personas from the same backend can be linked together even if they have no other linkeable properties set.
Since 0.5.0
struct FolksLocalIdDetailsIface { GTypeInterface parent_iface; void (*change_local_ids) (FolksLocalIdDetails* self, GeeSet* local_ids, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*change_local_ids_finish) (FolksLocalIdDetails* self, GAsyncResult* _res_, GError** error); GeeSet* (*get_local_ids) (FolksLocalIdDetails* self); void (*set_local_ids) (FolksLocalIdDetails* self, GeeSet* value); };
Interface for creating FolksLocalIdDetails implementations.
GTypeInterface |
the parent interface structure |
|
virtual method called by |
||
asynchronous finish function for |
||
getter method for the abstract property "local-ids" |
||
setter method for the abstract property "local-ids" |
“local-ids”
property “local-ids” GeeSet *
The IIDs corresponding to FolksPersonas in a backend that we fully trust.
Flags: Read / Write
Since 0.5.1