get_contacts_sync


Description:

public bool get_contacts_sync (string sexp, out SList<Contact> out_contacts, Cancellable? cancellable = null) throws Error

Query this with sexp, receiving a list of contacts which matched.

If successful, then the out_contacts is set to newly allocated SList of Contact(s), which should be freed with util_free_object_slist.

Note: sexp can be obtained through BookQuery, by converting it to a string with to_string.

Parameters:

this

an BookClient

sexp

an S-expression representing the query

out_contacts

a SList of matched Contact(s)

cancellable

a Cancellable; can be null

Returns:

true if successful, false otherwise.