query_files_async


Description:

[ Version ( since = "0.9.1" ) ]
public async void query_files_async (PicasaWebAlbum? album, Query? query, Cancellable? cancellable, owned QueryProgressCallback? progress_callback)

Queries the specified album for a list of the files which match the given query.

If album is null and a user is authenticated with the service, the user's default album will be queried. this, album and query are all reffed when this function is called, so can safely be unreffed after this function returns.

For more details, see query_files, which is the synchronous version of this function, and query_async, which is the base asynchronous query function.

Parameters:

this

a PicasaWebService

album

a PicasaWebAlbum from which to retrieve the files, or null

query

a Query with the query parameters, or null

cancellable

optional Cancellable object, or null

progress_callback

a QueryProgressCallback to call when an entry is loaded, or null

callback

a TaskReadyCallback to call when the query is finished

destroy_progress_user_data

the function to call when progress_callback will not be called any more, or null. This function will be called with progress_user_data as a parameter and can be used to free any memory allocated for it.

progress_user_data

data to pass to the progress_callback function

user_data

data to pass to the callback function




2022 vala-language.org