Service.setAlias

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

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

This method will return immediately and complete asynchronously.

class Service
void
setAlias
(
string alias_
,,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

alias_ string

the alias to assign the collection to

collection Collection

the collection to assign to the alias

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to pass to the callback

Meta