[ Version ( since = "1.12" ) ]
public async bool install2_async (InstallFlags flags, string name, string? channel, string? revision, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error
Asynchronously install a snap from the store.
See install2_sync for more information.
this |
a Client. |
flags |
a set of InstallFlags to control install options. |
name |
name of snap to install. |
channel |
channel to install from or null for default. |
revision |
revision to install or null for default. |
progress_callback |
function to callback with progress. |
cancellable |
a Cancellable or null. |
callback |
a TaskReadyCallback to call when the request is satisfied. |
progress_callback_data |
user data to pass to |
user_data |
the data to pass to callback function. |