get_contacts_uids_sync


Description:

public bool get_contacts_uids_sync (string sexp, out SList<string> out_contact_uids, Cancellable? cancellable = null) throws Error

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

If successful, then the out_contact_uids is set to newly allocated list of UID strings, which should be freed with util_free_string_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_contact_uids

a SList of matched contacts UIDs stored as strings

cancellable

a Cancellable; can be null

Returns:

true if successful, false otherwise.




2022 vala-language.org