DBusProxy.newForBus

Like g_dbus_proxy_new() but takes a GBusType instead of a GDBusConnection. See Example 10, “GDBusProxy for a well-known-name” for an example of how GDBusProxy can be used. Since 2.26

Parameters

busType GBusType

A GBusType.

flags GDBusProxyFlags

Flags used when constructing the proxy.

info GDBusInterfaceInfo*

A GDBusInterfaceInfo specifying the minimal interface that proxy conforms to or NULL. [allow-none]

name string

A bus name (well-known or unique).

objectPath string

An object path.

interfaceName string

A D-Bus interface name.

cancellable Cancellable

A GCancellable or NULL.

callback GAsyncReadyCallback

Callback function to invoke when the proxy is ready.

userData void*

User data to pass to callback.

Meta