Gio.DBusProxy.prototype.call_with_unix_fd_list_sync
function call_with_unix_fd_list_sync(method_name: String, parameters: GLib.Variant, flags: Gio.DBusCallFlags, timeout_msec: Number(gint), fd_list: Gio.UnixFDList, cancellable: Gio.Cancellable): [return_value: GLib.Variant, out_fd_list: Gio.UnixFDList] { // Gjs wrapper for g_dbus_proxy_call_with_unix_fd_list_sync() }
Like Gio.DBusProxy.prototype.call_sync but also takes and returns Gio.UnixFDList objects.
This method is only available on UNIX.
Since 2.30
- method_name
Name of method to invoke.
- parameters
A GLib.Variant tuple with parameters for the signal or null if not passing parameters.
- flags
Flags from the Gio.DBusCallFlags enumeration.
- timeout_msec
The timeout in milliseconds (with %G_MAXINT meaning "infinite") or -1 to use the proxy default timeout.
- fd_list
A Gio.UnixFDList or null.
- cancellable
A Gio.Cancellable or null.
- return_value
null if @error is set. Otherwise a GLib.Variant tuple with return values. Free with GLib.Variant.prototype.unref.
- out_fd_list
Return location for a Gio.UnixFDList or null.