callAddRecord method

Future<void> callAddRecord(
  1. int interface,
  2. int protocol,
  3. int flags,
  4. String name,
  5. int clazz,
  6. int type,
  7. int ttl,
  8. List<int> rdata, {
  9. bool noAutoStart = false,
  10. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Avahi.EntryGroup.AddRecord()

Implementation

Future<void> callAddRecord(int interface, int protocol, int flags,
    String name, int clazz, int type, int ttl, List<int> rdata,
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  await callMethod(
      'org.freedesktop.Avahi.EntryGroup',
      'AddRecord',
      [
        DBusInt32(interface),
        DBusInt32(protocol),
        DBusUint32(flags),
        DBusString(name),
        DBusUint16(clazz),
        DBusUint16(type),
        DBusUint32(ttl),
        DBusArray.byte(rdata)
      ],
      replySignature: DBusSignature(''),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
}