Service.loadCollections

void loadCollections(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = 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 will return immediately and complete asynchronously.

Parameters

cancellableoptional cancellation object
callbackcalled when the operation completes