Virtual Method

ValentContactStoreget_contact

unstable since: 1.0

Declaration [src]

void
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

Parameters

uid

Type: const char*

A contact UID.

The data is owned by the caller of the function.
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 function.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback

user_data

Type: gpointer

User supplied data.

The argument can be NULL.
The data is owned by the caller of the function.