[ Version ( since = "1.9" ) ]
public async bool install_stream_async (InstallFlags flags, InputStream stream, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error
Asynchronously install a snap.
See install_stream_sync for more information.
this |
a Client. |
flags |
a set of InstallFlags to control install options. |
stream |
a InputStream containing the snap file contents to install. |
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. |