DBusConnection.callWithUnixFdListFinish

Finishes an operation started with [gio.dbus_connection.DBusConnection.callWithUnixFdList].

The file descriptors normally correspond to G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if [glib.variant.Variant.getHandle] returns 5, that is intended to be a reference to the file descriptor that can be accessed by g_unix_fd_list_get (*out_fd_list, 5, ...).

When designing D-Bus APIs that are intended to be interoperable, please note that non-GDBus implementations of D-Bus can usually only access file descriptors if they are referenced in this way by a value of type G_VARIANT_TYPE_HANDLE in the body of the message.

Parameters

outFdListreturn location for a #GUnixFDList or null
resa #GAsyncResult obtained from the #GAsyncReadyCallback passed to [gio.dbus_connection.DBusConnection.callWithUnixFdList]

Returns

null if error is set. Otherwise a non-floating

#GVariant tuple with return values. Free with [glib.variant.Variant.unref].

Throws

[ErrorWrap]