resolve_async


Description:

[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.5.2" ) ]
public async Results resolve_async (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Resolve a package name into a package_id.

This can return installed and available packages and allows you find out if a package is installed locally or is available in a repository.

Parameters:

this

a valid Client instance

filters

a Bitfield such as GUI | FREE or NONE

packages

an array of package names to resolve, e.g. "gnome-system-tools"

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

callback_ready

the function to run on completion

progress_user_data

data to pass to progress_callback

user_data

the data to pass to callback_ready




2022 vala-language.org