what_provides


Description:

[ Version ( since = "0.5.3" ) ]
public Results what_provides (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.

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

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

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error