search_for_dbus_paths


Description:

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

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

Only the specified collection is searched. The attributes should be a table of string keys and string values.

This function returns immediately and completes asynchronously.

When your callback is called use [methodCollection.search_for_dbus_paths_finish] to get the results of this function. Only the DBus object paths of the items will be returned. If you would like [classItem] objects to be returned instead, then use the [method Collection.search] function.

Parameters:

this

the secret collection

schema

the schema for the attributes

attributes

search for items matching these attributes

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback