Collection.loadItemsSync

Ensure that the #SecretCollection proxy has loaded all the items present in the Secret Service. This affects the result of secret.collection.Collection.getItems.

For collections returned from secret.service.Service.getCollections 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

Parameters

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: bool

whether the load was successful or not