Method
ValentContactStoreremove_contact
unstable since: 1.0
Declaration [src]
void
valent_contact_store_remove_contact (
ValentContactStore* store,
const char* uid,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Remove contact uid
from store
.
A convenience wrapper around valent_contact_store_remove_contacts()
for
removing a single contact.
Call valent_contact_store_remove_contacts_finish()
to get the result.
Available since: 1.0
This method completes asynchronously. Use valent_contact_store_remove_contacts_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
uid
-
Type:
const char*
A contact UID.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 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.