Method
ValentContactStoreadd_contact
unstable since: 1.0
Declaration [src]
void
valent_contact_store_add_contact (
ValentContactStore* store,
EContact* contact,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
A convenience wrapper around valent_contact_store_add_contacts()
for
adding a single contact.
Call valent_contact_store_add_contacts_finish()
to get the result.
Available since: 1.0
This method completes asynchronously. Use valent_contact_store_add_contacts_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
contact
-
Type:
EContact
A
EContact
.The data is owned by the caller of the method. cancellable
-
Type:
GCancellable
GCancellable
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
.The argument can be NULL
. user_data
-
Type:
gpointer
User supplied data.
The argument can be NULL
.The data is owned by the caller of the method.