load_collections_sync


Description:

public bool load_collections_sync (Cancellable? cancellable = null) throws Error

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

This affects the result of [methodService.get_collections].

You can also pass the LOAD_COLLECTIONS to [func Service.get_sync] in order to ensure that the collections have been loaded by the time you get the Service proxy.

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

Parameters:

this

the secret service

cancellable

optional cancellation object

Returns:

whether the load was successful or not