QueryProgressCallback


Description:

[ CCode ( instance_pos = 3.9 ) ]
public delegate void QueryProgressCallback (Entry entry, uint entry_key, uint entry_count)

Callback function called for each Entry parsed in a Feed when loading the results of a query.

It is called in the main thread, so there is no guarantee on the order in which the callbacks are executed, or whether they will be called in a timely manner. It is, however, guaranteed that they will all be called before the TaskReadyCallback which signals the completion of the query is called.

Parameters:

entry

a new Entry

entry_key

the key of the entry (zero-based index of its position in the feed)

entry_count

the total number of entries in the feed

user_data

user data passed to the callback


Namespace: GData
Package: libgdata



2022 vala-language.org