Method
ValentContactStoreget_contact
unstable since: 1.0
Declaration [src]
void
valent_contact_store_get_contact (
ValentContactStore* store,
const char* uid,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Get a contact by UID.
Call valent_contact_store_get_contact_finish() to get the result.
Available since: 1.0
This method completes asynchronously. Use valent_contact_store_get_contact_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:
GCancellableGCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallback.The argument can be NULL. user_data-
Type:
gpointerUser supplied data.
The argument can be NULL.The data is owned by the caller of the method.