[ Version ( since = "0.5.5" ) ]
public Results search_names (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search all the locally installed files and remote repositories for a package that matches a specific name.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
| this |
a valid Client instance |
| filters |
a Bitfield such as pk_filter_enum_gui | pk_filter_enum_free or pk_filter_enum_none |
| values |
free text to search for, for instance, "power" |
| cancellable |
a Cancellable or null |
| progress_callback |
the function to run when the progress changes |
| progress_user_data |
data to pass to |
|
a Results object, or null for error |