install2_sync


Description:

[ Version ( since = "1.12" ) ]
public bool install2_sync (InstallFlags flags, string name, string? channel, string? revision, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error

Install a snap from the store.

Parameters:

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.

progress_callback_data

user data to pass to progress_callback.

Returns:

true on success or false on error.




2022 vala-language.org