install_sync
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public bool install_sync (string name, string? channel, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error
public bool install_sync (string name, string? channel, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error
Warning: install_sync is deprecated since 1.12.
Install a snap from the store.
Note:
Use install2_sync
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. |
| progress_callback_data |
user data to pass to |
Returns:
|
true on success or false on error. |