Gio.DBusProxy.new_for_bus_finish

function new_for_bus_finish(res: Gio.AsyncResult): Gio.DBusProxy {
    // Gjs wrapper for g_dbus_proxy_new_for_bus_finish()
}
  

Finishes creating a Gio.DBusProxy.

Since 2.26

res

A Gio.AsyncResult obtained from the Gio.AsyncReadyCallback function passed to Gio.DBusProxy.new_for_bus.

Returns

A Gio.DBusProxy or null if @error is set. Free with GObject.Object.prototype.unref.