DBusProxy.newForBus

void newForBus(gio.types.BusType busType, gio.types.DBusProxyFlags flags, gio.dbus_interface_info.DBusInterfaceInfo info, string name, string objectPath, string interfaceName, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Like [gio.dbus_proxy.DBusProxy.new_] but takes a #GBusType instead of a #GDBusConnection.

#GDBusProxy is used in this [example][gdbus-wellknown-proxy].

Parameters

busTypeA #GBusType.
flagsFlags used when constructing the proxy.
infoA #GDBusInterfaceInfo specifying the minimal interface that proxy conforms to or null.
nameA bus name (well-known or unique).
objectPathAn object path.
interfaceNameA D-Bus interface name.
cancellableA #GCancellable or null.
callbackCallback function to invoke when the proxy is ready.