callRecordBrowserNew method

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

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

Implementation

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