Gio.DBusMethodInvocation.prototype.return_value
function return_value(parameters: GLib.Variant): void {
// Gjs wrapper for g_dbus_method_invocation_return_value()
}
Finishes handling a D-Bus method call by returning parameters. If the parameters GVariant is floating, it is consumed.
It is an error if parameters is not of the right format.
This method will free invocation, you cannot use it afterwards.
Since 2.26
- parameters
A GLib.Variant tuple with out parameters for the method or null if not passing any parameters.