call_with_unix_fd_list_sync


Description:

[ Version ( since = "2.30" ) ]
public Variant call_with_unix_fd_list_sync (string method_name, Variant? parameters, DBusCallFlags flags, int timeout_msec, UnixFDList? fd_list = null, out UnixFDList? out_fd_list = null, Cancellable? cancellable = null) throws Error

Like call_sync but also takes and returns UnixFDList objects.

This method is only available on UNIX.

Parameters:

this

A DBusProxy.

method_name

Name of method to invoke.

parameters

A Variant tuple with parameters for the signal or null if not passing parameters.

flags

Flags from the DBusCallFlags enumeration.

timeout_msec

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

fd_list

A UnixFDList or null.

out_fd_list

Return location for a UnixFDList or null.

cancellable

A Cancellable or null.

Returns:

null if throws is set. Otherwise a Variant tuple with return values. Free with g_variant_unref.