set_alias_sync


Description:

public bool set_alias_sync (string alias, Collection? collection, Cancellable? cancellable = null) throws Error

Assign a collection to this alias.

Aliases help determine well known collections, such as 'default'.

If this is null, then [funcService.get_sync] will be called to get the default [classService] proxy.

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

Parameters:

this

a secret service object

alias

the alias to assign the collection to

collection

the collection to assign to the alias

cancellable

optional cancellation object

Returns:

true if successful