accept_eula_async


Description:

[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.5.2" ) ]
public async Results accept_eula_async (string eula_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

We may want to agree to a EULA dialog if one is presented.

Parameters:

this

a valid Client instance

eula_id

the eula_id we are agreeing to

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

callback_ready

the function to run on completion

progress_user_data

data to pass to progress_callback

user_data

the data to pass to callback_ready