Collection.loadItemsSync

Ensure that the #SecretCollection proxy has loaded all the items present in the Secret Service. This affects the result of secret_collection_get_items().

For collections returned from secret_service_get_collections() the items will have already been loaded.

This method may block indefinitely and should not be used in user interface threads.

class Collection
bool
loadItemsSync
(
Cancellable cancellable
)

Parameters

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether the load was successful or not

Throws

GException on failure.

Meta