[ Version ( since = "3.12" ) ]
public async bool get_cursor (string sexp, ContactField sort_fields, BookCursorSortType sort_types, uint n_fields, Cancellable? cancellable, out BookClientCursor out_cursor) throws Error
Create an BookClientCursor.
The call is finished by get_view.end from the callback
.
Note: sexp
can be obtained through BookQuery, by converting it to a string with
to_string.
this |
an BookClient |
sexp |
an S-expression representing the query |
sort_fields |
an array of ContactFields to sort the cursor with |
sort_types |
an array of BookCursorSortTypes to complement |
n_fields |
the length of the input |
cancellable |
a Cancellable; can be |
callback |
callback to call when a result is ready |
user_data |
user data for the |