addInterface

open fun addInterface(interface: DBusInterfaceSkeleton)

Adds @interface_ to @object.

If @object already contains a #GDBusInterfaceSkeleton 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

Parameters

interface

A #GDBusInterfaceSkeleton.