search_for_dbus_paths_sync


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[] search_for_dbus_paths_sync (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable = null) throws Error

Search for items matching the attributes in this, and return their DBus object paths.

The attributes should be a table of string keys and string values.

This function may block indefinitely. Use the asynchronous version in user interface threads.

DBus object paths of the items will be returned. If you would to have [classItem] objects to be returned instead, then use the [methodCollection.search_sync] function.

Parameters:

this

the secret collection

schema

the schema for the attributes

attributes

search for items matching these attributes

cancellable

optional cancellation object

Returns:

an array of DBus object paths for matching items.