callServiceBrowserNew method
Invokes org.freedesktop.Avahi.Server.ServiceBrowserNew()
Implementation
Future<String> callServiceBrowserNew({
required int interface,
required int protocol,
required String type,
required String domain,
required int flags,
bool noAutoStart = false,
bool allowInteractiveAuthorization = false,
}) async {
var result = await callMethod(
'org.freedesktop.Avahi.Server',
'ServiceBrowserNew',
[
DBusInt32(interface),
DBusInt32(protocol),
DBusString(type),
DBusString(domain),
DBusUint32(flags)
],
replySignature: DBusSignature('o'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization);
return (result.returnValues[0] as DBusObjectPath).value;
}