Method

PurpleContactManagerBackendsave_contact_async

unstable since: 3.0

Declaration [src]

void
purple_contact_manager_backend_save_contact_async (
  PurpleContactManagerBackend* backend,
  PurpleContact* contact,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Saves a contact asynchronously.

Available since: 3.0

This method completes asynchronously. Use purple_contact_manager_backend_save_contact_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

contact

Type: PurpleContact

The contact to save.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

An optional cancellable.

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

Type: GAsyncReadyCallback

The callback to call when completed.

The argument can be NULL.
data

Type: gpointer

The user data to pass to the callback.

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