Gio.DBusInterfaceInfo.prototype.generate_xml

function generate_xml(indent: Number(guint)): GLib.String {
    // Gjs wrapper for g_dbus_interface_info_generate_xml()
}
  

Appends an XML representation of info (and its children) to @string_builder.

This function is typically used for generating introspection XML documents at run-time for handling the `org.freedesktop.DBus.Introspectable.Introspect` method.

Since 2.26

indent

Indentation level.

Returns

A GLib.String to to append XML data to.