install_async


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public async bool install_async (string name, string? channel, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error

Warning: install_async is deprecated since 1.12.

Asynchronously install a snap from the store.

Note:

See install_sync for more information.

Parameters:

this

a Client.

name

name of snap to install.

channel

channel to install from 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 progress_callback.

user_data

the data to pass to callback function.