download_packages_sync


Description:

[ Version ( since = "0.6.5" ) ]
public Results download_packages_sync (string[] package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Downloads packages

Parameters:

this

a valid Task instance

package_ids

a null terminated array of package_id structures such as "hal;0.0.1;i386;fedora"

directory

the destination directory

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error




2022 vala-language.org