search_with_callback


Description:

public bool search_with_callback (string? sexp, BookCacheSearchFunc func, Cancellable? cancellable = null) throws Error

Similar to search, but calls the func for each found contact.

Parameters:

this

An BookCache

sexp

search expression; use null or an empty string to get all stored contacts

func

an BookCacheSearchFunc callback to call for each found row

cancellable

optional Cancellable object, or null

user_data

user data for func

Returns:

true on success, otherwise false is returned and throws is set appropriately.