#GVariant tuple with return values. Free with [glib.variant.Variant.unref].
DBusConnection.callWithUnixFdListSync
glib.variant.Variant callWithUnixFdListSync(string busName, string objectPath, string interfaceName, string methodName, glib.variant.Variant parameters, glib.variant_type.VariantType replyType, 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_connection.DBusConnection.callSync] but also takes and returns #GUnixFDList objects. See [gio.dbus_connection.DBusConnection.callWithUnixFdList] and [gio.dbus_connection.DBusConnection.callWithUnixFdListFinish] for more details.
This method is only available on UNIX.
Parameters
busName | a unique or well-known bus name or null if connection is not a message bus connection |
objectPath | path of remote object |
interfaceName | D-Bus interface to invoke method on |
methodName | the name of the method to invoke |
parameters | a #GVariant tuple with parameters for the method or null if not passing parameters |
replyType | the expected type of the reply, or null |
flags | flags from the #GDBusCallFlags enumeration |
timeoutMsec | the timeout in milliseconds, -1 to use the default timeout or G_MAXINT for no timeout |
fdList | a #GUnixFDList or null |
outFdList | return location for a #GUnixFDList or null |
cancellable | a #GCancellable or null |
Returns
null if error is set. Otherwise a non-floating
Throws
[ErrorWrap]