generate_output_for_media_async


Description:

[ Version ( since = "0.2.12" ) ]
public async File generate_output_for_media_async (Media media, InstallConfig config, File output_dir, Cancellable? cancellable) throws Error

Asynchronous variant of generate_output_for_media ().

From the callback, call generate_output_for_media_async.end() to conclude this call and get the generated file.

Parameters:

this

the install script

media

the media

config

the install script config

output_dir

the directory where the file containing the output script will be written

cancellable

a Cancellable, or null

callback

Function to call when result of this call is ready

user_data

The user data to pass to callback, or null