Warning: @new is deprecated since vala-0.36. Use DBusObjectManagerClient.
Asynchronously creates a new DBusObjectManagerClient object.
This is an asynchronous failable constructor. When the result is ready, callback will be invoked in the thread-default main
context (see [method@GLib.MainContext.push_thread_default]) of the thread you are calling this method from. You can then call
@new.end to get the result. See
DBusObjectManagerClient.sync for the
synchronous version.
| connection | |
| flags |
Zero or more flags from the DBusObjectManagerClientFlags enumeration. |
| name |
The owner of the control object (unique or well-known name). |
| object_path |
The object path of the control object. |
| get_proxy_type_func |
A DBusProxyTypeFunc function or null to always construct DBusProxy proxies. |
| cancellable |
A Cancellable or null |
| callback |
A TaskReadyCallback to call when the request is satisfied. |
| get_proxy_type_destroy_notify |
Free function for |
| get_proxy_type_user_data |
User data to pass to |
| user_data |
The data to pass to |