Gio.DBusObjectManagerClient.prototype.get_name_owner

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

The unique name that owns the name that manager is for or null if no-one currently owns that name. You can connect to the GObject.Object::notify signal to track changes to the Gio.DBusObjectManagerClient.name_owner property.

Since 2.30

Returns

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