Service.setAliasSync

Assign a collection to this alias. Aliases help determine well known collections, such as 'default'.

If @service is NULL, then secret_service_get_sync() will be called to get the default #SecretService proxy.

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

class Service
bool
setAliasSync

Parameters

alias_ string

the alias to assign the collection to

collection Collection

the collection to assign to the alias

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

%TRUE if successful

Throws

GException on failure.

Meta