dup_contacts


Description:

[ Version ( since = "3.50" ) ]
public async bool dup_contacts (uint range_start, uint range_length, Cancellable? cancellable, out uint out_range_start, out GenericArray<unowned Contact> out_contacts) throws Error

Asynchronously reads range_length contacts from index range_start.

When there are asked more than get_n_total contacts only those up to the total number of contacts are read. Asking for out of range contacts results in an error.

Finish the call by dup_contacts.end from the cb.

Note: This function can be used only with E_BOOK_CLIENT_VIEW_FLAGS_MANUAL_QUERY.

Parameters:

this

an BookClientView

range_start

0-based range start to retrieve the contacts for

range_length

how many contacts to retrieve

cancellable

optional Cancellable object, or null

cb

a callback to call when the contacts are received

user_data

user data for cb