query_single_entry_async


Description:

[ Version ( since = "0.9.0" ) ]
public async Entry query_single_entry_async (AuthorizationDomain? domain, string entry_id, Query? query, Type entry_type, Cancellable? cancellable) throws Error

Retrieves information about the single entry with the given entry_id.

entry_id should be as returned by get_id. this, query and entry_id are reffed/copied when this function is called, so can safely be freed after this function returns.

For more details, see query_single_entry, which is the synchronous version of this function.

When the operation is finished, callback will be called. You can then call query_single_entry_async.end to get the results of the operation.

Parameters:

this

a Service

domain

the AuthorizationDomain the query falls under, or null

entry_id

the entry ID of the desired entry

query

a Query with the query parameters, or null

entry_type

a Type for the Entry to build from the XML

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the query is finished

user_data

data to pass to the callback function




2022 vala-language.org