DBusProxy.callWithUnixFdListSync

glib.variant.Variant callWithUnixFdListSync(string methodName, glib.variant.Variant parameters, gio.types.DBusCallFlags flags, int timeoutMsec, gio.unix_fdlist.UnixFDList fdList, out gio.unix_fdlist.UnixFDList outFdList, gio.cancellable.Cancellable cancellable = null)

Like [gio.dbus_proxy.DBusProxy.callSync] but also takes and returns #GUnixFDList objects.

This method is only available on UNIX.

Parameters

methodNameName of method to invoke.
parametersA #GVariant tuple with parameters for the signal or null if not passing parameters.
flagsFlags from the #GDBusCallFlags enumeration.
timeoutMsecThe timeout in milliseconds (with G_MAXINT meaning "infinite") or -1 to use the proxy default timeout.
fdListA #GUnixFDList or null.
outFdListReturn location for a #GUnixFDList or null.
cancellableA #GCancellable or null.

Returns

null if error is set. Otherwise a #GVariant tuple with

return values. Free with [glib.variant.Variant.unref].

Throws

[ErrorWrap]