DBusObjectManagerClient.new_
void new_(gio.dbus_connection.DBusConnection connection, gio.types.DBusObjectManagerClientFlags flags, string name, string objectPath, gio.types.DBusProxyTypeFunc getProxyTypeFunc = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously creates a new #GDBusObjectManagerClient object.
This is an asynchronous failable constructor. When the result is ready, callback will be invoked in the [thread-default main context][g-main-context-push-thread-default] of the thread you are calling this method from. You can then call [gio.dbus_object_manager_client.DBusObjectManagerClient.newFinish] to get the result. See [gio.dbus_object_manager_client.DBusObjectManagerClient.newSync] for the synchronous version.
Parameters
connection | A #GDBusConnection. |
flags | Zero or more flags from the #GDBusObjectManagerClientFlags enumeration. |
name | The owner of the control object (unique or well-known name). |
objectPath | The object path of the control object. |
getProxyTypeFunc | A #GDBusProxyTypeFunc function or null to always construct #GDBusProxy proxies. |
cancellable | A #GCancellable or null |
callback | A #GAsyncReadyCallback to call when the request is satisfied. |