BookCacheCursor


Description:

[ CCode ( has_construct_function = false ) ]
public BookCacheCursor (BookCache book_cache, string? sexp, ContactField[] sort_fields, BookCursorSortType[] sort_types) throws Error

Creates a new BookCacheCursor.

The cursor should be freed with cursor_free when no longer needed.

Parameters:

book_cache

An BookCache

sexp

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

sort_fields

An array of ContactField(s) as sort keys in order of priority

sort_types

An array of BookCursorSortTypes, one for each field in sort_fields

n_sort_fields

The number of fields to sort results by

Returns:

A newly created BookCacheCursor