[ Version ( since = "3.1" ) ]
public static async Connection bus_new_async (string service_name, string? object_path, DBusConnection? dbus_connection = null, Cancellable? cancellable = null) throws Error
Connects asynchronously to a database owned by another process on the local machine via DBus.
| service_name |
The name of the D-Bus service to connect to. |
| object_path |
The path to the object, or null to use the default. |
| dbus_connection |
The [class@Gio.DBusConnection] to use, or null to use the session bus |
| cancellable |
Optional [type@Gio.Cancellable] |
| callback |
User-defined [type@Gio.AsyncReadyCallback] to be called when the asynchronous operation is finished. |
| user_data |
User-defined data to be passed to |