search_for_dbus_paths


Description:

public async bool search_for_dbus_paths (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable, out string[]? unlocked, out string[]? locked) throws Error

Search for items matching the attributes, and return their D-Bus object paths.

All collections are 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 [methodService.search_for_dbus_paths_finish] to get the results of this function. Only the D-Bus object paths of the items will be returned. If you would like [classItem] objects to be returned instead, then use the [method Service.search] function.

Parameters:

this

the secret service

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