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
collectionthe collection to assign to the alias
cancellableoptional cancellation object
callbackcalled when the operation completes