Gio.DBusConnection.prototype.call_with_unix_fd_list_sync

function call_with_unix_fd_list_sync(bus_name: String, object_path: String, interface_name: String, method_name: String, parameters: GLib.Variant, reply_type: GLib.VariantType, 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_connection_call_with_unix_fd_list_sync()
}
  

Like Gio.DBusConnection.prototype.call_sync but also takes and returns Gio.UnixFDList objects.

This method is only available on UNIX.

Since 2.30

bus_name

a unique or well-known bus name or null if connection is not a message bus connection

object_path

path of remote object

interface_name

D-Bus interface to invoke method on

method_name

the name of the method to invoke

parameters

a GLib.Variant tuple with parameters for the method or null if not passing parameters

reply_type

the expected type of the reply, or null

flags

flags from the Gio.DBusCallFlags enumeration

timeout_msec

the timeout in milliseconds, -1 to use the default timeout or %G_MAXINT for no 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