PicasaWebQuery.with_limits


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.6.0" ) ]
public PicasaWebQuery.with_limits (string? q, uint start_index, uint max_results)

Creates a PicasaWebQuery with its q property set to q, returning max_results starting from the start_indexth result.

Note that when querying for albums with query_all_albums, the q parameter cannot be used.

This is useful for paging through results, but the result set between separate queries may change. So, if you use this to request the next ten results after a previous query, it may include some of the previously returned results if their order changed, or omit ones that would have otherwise been found in a earlier but larger query.

Parameters:

q

a query string, or null

start_index

the index of the first result to include, or 0

max_results

the maximum number of results to include, or 0

Returns:

a new PicasaWebQuery




2022 vala-language.org