Virtual Method

ValentContactStorequery

unstable since: 1.0

Declaration [src]

void
query (
  ValentContactStore* store,
  const char* query,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Query store for contacts matching query.

Call valent_contact_store_query_finish() to get the result.

Available since: 1.0

Parameters

query

Type: const char*

A search expression.

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.