Service.loadCollectionsSync

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.

class Service
bool
loadCollectionsSync

Parameters

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: bool

whether the load was successful or not