Service.readAliasDbusPathSync

Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as 'default'. This method returns the dbus object path of the collection.

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

class Service
string
readAliasDbusPathSync
(
string alias_
,
Cancellable cancellable
)

Parameters

alias_ string

the alias to lookup

cancellable Cancellable

optional cancellation object

Return Value

Type: string

the collection dbus object path, or %NULL if none assigned to the alias

Throws

GException on failure.

Meta