Service.setAliasSync
bool setAliasSync(string alias_, secret.collection.Collection collection = null, gio.cancellable.Cancellable cancellable = null)Assign a collection to this alias. Aliases help determine well known collections, such as 'default'.
If service is null, then secret.service.Service.getSync will be called to get the default secret.service.Service proxy.
This method may block and should not be used in user interface threads.
Parameters
alias_ | the alias to assign the collection to |
collection | the collection to assign to the alias |
cancellable | optional cancellation object |
Returns
true if successful