callServiceTypeBrowserNew method

Future<String> callServiceTypeBrowserNew(
  1. int interface,
  2. int protocol,
  3. String domain,
  4. int flags, {
  5. bool noAutoStart = false,
  6. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Avahi.Server.ServiceTypeBrowserNew()

Implementation

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