callAddAddress method

Future<void> callAddAddress(
  1. int interface,
  2. int protocol,
  3. int flags,
  4. String name,
  5. String address, {
  6. bool noAutoStart = false,
  7. bool allowInteractiveAuthorization = false,
})

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

Implementation

Future<void> callAddAddress(
    int interface, int protocol, int flags, String name, String address,
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  await callMethod(
      'org.freedesktop.Avahi.EntryGroup',
      'AddAddress',
      [
        DBusInt32(interface),
        DBusInt32(protocol),
        DBusUint32(flags),
        DBusString(name),
        DBusString(address)
      ],
      replySignature: DBusSignature(''),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
}