Gio.DBusProxy.prototype.get_name_owner

function get_name_owner(): String {
    // Gjs wrapper for g_dbus_proxy_get_name_owner()
}
  

The unique name that owns the name that proxy is for or null if no-one currently owns that name. You may connect to the GObject.Object::notify signal to track changes to the Gio.DBusProxy.g_name_owner property.

Since 2.26

Returns

The name owner or null if no name owner exists. Free with GLib.free.