Service.setAlias

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 classService proxy.

This method will return immediately and complete asynchronously.

Parameters

alias_ string

the alias to assign the collection to

collection secret.collection.Collection

the collection to assign to the alias

cancellable gio.cancellable.Cancellable

optional cancellation object

callback gio.types.AsyncReadyCallback

called when the operation completes