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

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.