load_contact_sync


Description:

public virtual bool load_contact_sync (string uid, string? extra, out Contact out_contact, out string out_extra, Cancellable? cancellable = null) throws Error

Loads a contact from the remote side.

It is mandatory to implement this virtual method by the descendant.

The returned out_contact should be freed with unref, when no longer needed.

The returned out_extra should be freed with g_free, when no longer needed.

Parameters:

this

an BookMetaBackend

uid

a contact UID

extra

optional extra data stored with the contact, or null

out_contact

a loaded contact, as an Contact

out_extra

an extra data to store to BookCache with this contact

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.