[ CCode ( has_construct_function = false , type = "EDataBookCursor*" ) ]
public DataBookCursorSqlite (BookBackend backend, BookSqlite ebsql, string revision_key, ContactField[] sort_fields, BookCursorSortType[] sort_types) throws Error
Creates an DataBookCursor and implements all of the cursor methods using the
delegate ebsql object.
This is a suitable cursor type for any backend which stores its contacts using the BookSqlite object.
| backend |
the BookBackend creating this cursor |
| ebsql |
the BookSqlite object to base this cursor on |
| revision_key |
The key name to consult for the current overall contacts database revision |
| sort_fields |
an array of ContactFields as sort keys in order of priority |
| sort_types |
an array of BookCursorSortTypes, one for each field
in |
| n_fields |
the number of fields to sort results by. |
|
A newly created DataBookCursor, or null if cursor creation failed. |