@new


Description:

public static async DBusObjectManagerClient @new (DBusConnection connection, DBusObjectManagerClientFlags flags, string name, string object_path, owned DBusProxyTypeFunc get_proxy_type_func, Cancellable? cancellable = null) throws Error

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 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.

Parameters:

connection

A DBusConnection.

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 AsyncReadyCallback to call when the request is satisfied.

get_proxy_type_destroy_notify

Free function for get_proxy_type_user_data or null.

get_proxy_type_user_data

User data to pass to get_proxy_type_func.

user_data

The data to pass to callback.