null if error is set
dbusAddressGetForBusSync
fn
string dbusAddressGetForBusSync(gio.types.BusType busType, gio.cancellable.Cancellable cancellable = null)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.
The returned address will be in the
D-Bus address format.Parameters
busType | a #GBusType |
cancellable | a #GCancellable or null |
Returns
a valid D-Bus address string for bus_type or
Throws
[ErrorWrap]