Gio.DBusObject.prototype.get_interfaces

function get_interfaces(): Array(Gio.DBusInterface) {
    // Gjs wrapper for g_dbus_object_get_interfaces()
}
  

Gets the D-Bus interfaces associated with object.

Since 2.30

Returns

A list of Gio.DBusInterface instances. The returned list must be freed by GLib.List.free after each element has been freed with GObject.Object.prototype.unref.