public Results download_packages (string package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Downloads package files to a specified location.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
a valid Client instance
a null terminated array of package_id structures such as "hal;0.0.1;i386;fedora"
the location where packages are to be downloaded
a Cancellable or
the function to run when the progress changes
data to pass to
a Results object, or