DBusObjectManagerClient.newForBus

Like g_dbus_object_manager_client_new() but takes a GBusType instead of a GDBusConnection. This is an asynchronous failable constructor. When the result is ready, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call g_dbus_object_manager_client_new_for_bus_finish() to get the result. See g_dbus_object_manager_client_new_for_bus_sync() for the synchronous version. Since 2.30

Parameters

busType GBusType

A GBusType.

flags GDBusObjectManagerClientFlags

Zero or more flags from the GDBusObjectManagerClientFlags enumeration.

name string

The owner of the control object (unique or well-known name).

objectPath string

The object path of the control object.

getProxyTypeFunc GDBusProxyTypeFunc

A GDBusProxyTypeFunc function or NULL to always construct GDBusProxy proxies. [allow-none]

getProxyTypeUserData void*

User data to pass to get_proxy_type_func.

getProxyTypeDestroyNotify GDestroyNotify

Free function for get_proxy_type_user_data or NULL. [allow-none]

cancellable Cancellable

A GCancellable or NULL. [allow-none]

callback GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

userData void*

The data to pass to callback.

Meta