emitInterfacesRemoved method

Future<void> emitInterfacesRemoved(
  1. DBusObjectPath path,
  2. Iterable<String> interfaces
)

Emits org.freedesktop.DBus.ObjectManager.InterfacesRemoved on this object. path is the path to the object is being removed or changed. interfaces is the names of the interfaces being removed from the object at path.

Implementation

Future<void> emitInterfacesRemoved(
    DBusObjectPath path, Iterable<String> interfaces) async {
  await emitSignal(
      'org.freedesktop.DBus.ObjectManager', 'InterfacesRemoved', [
    path,
    DBusArray(DBusSignature('s'),
        interfaces.map((interface) => DBusString(interface)))
  ]);
}