Service.setAliasToDbusPath

Assign a collection to this alias. Aliases help determine well known collections, such as 'default'. This method takes the dbus object path of the collection to assign to the alias.

This method will return immediately and complete asynchronously.

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

Parameters

alias_ string

the alias to assign the collection to

collectionPath string

the dbus object path of 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