DBusUtilities.addressGetForBusSync

Synchronously looks up the D-Bus address for the well-known message bus instance specified by bus_type. This may involve using various platform specific mechanisms. Since 2.26

class DBusUtilities
static
string
addressGetForBusSync

Parameters

busType GBusType

A GBusType.

cancellable Cancellable

A GCancellable or NULL. [allow-none]

Return Value

Type: string

A valid D-Bus address string for bus_type or NULL if error is set.

Throws

GException on failure.

Meta