accept_eula


Description:

[ Version ( since = "0.5.3" ) ]
public Results accept_eula (string eula_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

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

Warning: this function is synchronous, and may block. Do not use it in GUI applications.

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

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error