callResolveHostName method

Future<List<DBusValue>> callResolveHostName(
  1. int interface,
  2. int protocol,
  3. String name,
  4. int aprotocol,
  5. int flags, {
  6. bool noAutoStart = false,
  7. bool allowInteractiveAuthorization = false,
})

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

Implementation

Future<List<DBusValue>> callResolveHostName(
    int interface, int protocol, String name, int aprotocol, int flags,
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  var result = await callMethod(
      'org.freedesktop.Avahi.Server',
      'ResolveHostName',
      [
        DBusInt32(interface),
        DBusInt32(protocol),
        DBusString(name),
        DBusInt32(aprotocol),
        DBusUint32(flags)
      ],
      replySignature: DBusSignature('iisisu'),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
  return result.returnValues;
}