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
busType | A #GBusType. |
flags | Flags used when constructing the proxy. |
info | A #GDBusInterfaceInfo specifying the minimal interface that proxy conforms to or null. |
name | A bus name (well-known or unique). |
objectPath | An object path. |
interfaceName | A D-Bus interface name. |
cancellable | A #GCancellable or null. |
callback | Callback function to invoke when the proxy is ready. |