Collection.searchForDbusPathsSync

Search for items matching the @attributes in @collection, 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 #SecretItem objects to be returned instead, then use the secret_collection_search_sync() function.

class Collection
string[]
searchForDbusPathsSync
(,
HashTable attributes
,
Cancellable cancellable
)

Parameters

schema Schema

the schema for the attributes

attributes HashTable

search for items matching these attributes

cancellable Cancellable

optional cancellation object

Return Value

Type: string[]

an array of DBus object paths for matching items.

Throws

GException on failure.

Meta