DBusProxy.callWithUnixFdListSync

Like g_dbus_proxy_call_sync() but also takes and returns #GUnixFDList objects.

This method is only available on UNIX.

Parameters

methodName string

Name of method to invoke.

parameters Variant

A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.

flags GDBusCallFlags

Flags from the #GDBusCallFlags enumeration.

timeoutMsec int

The timeout in milliseconds (with %G_MAXINT meaning "infinite") or -1 to use the proxy default timeout.

fdList UnixFDList

A #GUnixFDList or %NULL.

outFdList UnixFDList

Return location for a #GUnixFDList or %NULL.

cancellable Cancellable

A #GCancellable or %NULL.

Return Value

Type: Variant

%NULL if @error is set. Otherwise a #GVariant tuple with return values. Free with g_variant_unref().

Throws

GException on failure.

Meta

Since

2.30