callAddressResolverNew method

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

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

Implementation

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