[ Version ( since = "0.7.26" ) ]
public static DBusDaemon dup () throws Error
Returns a proxy for signals and method calls on the D-Bus daemon on which this process was activated (if it was launched by D-Bus service activation), or the session bus (otherwise).
If it is not possible to connect to the appropriate bus, raise an error and return null
.
The returned DBusDaemon is cached; the same DBusDaemon object will be returned by this function repeatedly, as long as at least one reference exists.
a reference to a proxy for signals and method calls on the bus daemon, or |