[ Version ( since = "2.0.0" ) ]
public async bool refresh_remote_async (Remote remote, ClientDownloadFlags download_flags, Cancellable? cancellable) throws Error
Refreshes a remote by downloading new metadata.
NOTE: This method is thread-safe, but progress signals will be emitted in the global default main context, if not explicitly set with [ method@Client.set_main_context].
| this |
a Client |
| remote |
a Remote |
| download_flags |
download flags, e.g. fwupd_client_download_flag_only_p2p |
| cancellable |
optional Cancellable |
| callback |
the function to run on completion |
| callback_data |
the data to pass to |