callServiceResolverPrepare method

Future<String> callServiceResolverPrepare(
  1. int interface,
  2. int protocol,
  3. String name,
  4. String type,
  5. String domain,
  6. int aprotocol,
  7. int flags, {
  8. bool noAutoStart = false,
  9. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Avahi.Server2.ServiceResolverPrepare()

Implementation

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