get_distro_upgrades


Description:

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

This method should return a list of distribution upgrades that are available.

It should not return updates, only major upgrades.

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

Parameters:

this

a valid Client instance

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