install_files_async
Description:
[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.8.1" ) ]
public async Results install_files_async (Bitfield transaction_flags, string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
[ Version ( since = "0.8.1" ) ]
public async Results install_files_async (Bitfield transaction_flags, string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a file locally, and get the deps from the repositories.
This is useful for double clicking on a .rpm or .deb file.
Parameters:
this |
a valid Client instance |
transaction_flags |
a transaction type bitfield |
files |
a file such as "/home/hughsie/Desktop/hal-devel-0.10.0.rpm" |
cancellable |
a Cancellable or |
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 |
user_data |
the data to pass to |