newForBus
fun newForBus(busType: BusType, flags: DBusProxyFlags, info: DBusInterfaceInfo? = null, name: String, objectPath: String, interfaceName: String, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
Like g_dbus_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
#GDBusProxy is used in this gdbus-wellknown-proxy.
Since
2.26
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.