Service.loadCollectionsSync

bool loadCollectionsSync(gio.cancellable.Cancellable cancellable = null)

Ensure that the #SecretService proxy has loaded all the collections present in the Secret Service.

This affects the result of [secret.service.Service.getCollections].

You can also pass the [secret.types.ServiceFlags.LoadCollections] to [secret.service.Service.getSync] in order to ensure that the collections have been loaded by the time you get the #SecretService proxy.

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

Parameters

cancellableoptional cancellation object

Returns

whether the load was successful or not

Throws

[ErrorWrap]