what_provides_async


Description:

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

This should return packages that provide the supplied attributes.

This method is useful for finding out what package(s) provide a modalias or GStreamer codec string.

Parameters:

this

a valid Client instance

filters

a Bitfield such as GUI | FREE or NONE

values

a search term such as "sound/mp3"

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