Gio.DBusObjectSkeleton.prototype.add_interface
function add_interface(interface_: Gio.DBusInterfaceSkeleton): void {
// Gjs wrapper for g_dbus_object_skeleton_add_interface()
}
Adds interface_ to object.
If object already contains a Gio.DBusInterfaceSkeleton with the same interface name, it is removed before interface_ is added.
Note that object takes its own reference on interface_ and holds it until removed.
Since 2.30
- interface_