DBusMethodInvocation.returnValue

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.48, if the method call requested for a reply not to be sent then this call will sink @parameters and free @invocation, but otherwise do nothing (as per the recommendations of the D-Bus specification).

class DBusMethodInvocation
void
returnValue

Parameters

parameters Variant

A #GVariant tuple with out parameters for the method or %NULL if not passing any parameters.

Meta

Since

2.26