Service.setAlias
void setAlias(string alias_, secret.collection.Collection collection = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Assign a collection to this alias.
Aliases help determine well known collections, such as 'default'.
If service is null, then secret.service.Service.get will be called to get the default secret.service.Service proxy.
This method will return immediately and complete asynchronously.
Parameters
alias_ | the alias to assign the collection to |
collection | the collection to assign to the alias |
cancellable | optional cancellation object |
callback | called when the operation completes |