callAddService method
Invokes org.freedesktop.Avahi.EntryGroup.AddService()
Implementation
Future<void> callAddService(
{required int interface,
required int protocol,
required int flags,
required String name,
required String type,
required String domain,
required String host,
required int port,
required List<List<int>> txt,
bool noAutoStart = false,
bool allowInteractiveAuthorization = false}) async {
await callMethod(
'org.freedesktop.Avahi.EntryGroup',
'AddService',
[
DBusInt32(interface),
DBusInt32(protocol),
DBusUint32(flags),
DBusString(name),
DBusString(type),
DBusString(domain),
DBusString(host),
DBusUint16(port),
DBusArray(
DBusSignature('ay'), txt.map((child) => DBusArray.byte(child)))
],
replySignature: DBusSignature(''),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization);
}