complete_command


Description:

public void complete_command (owned DBusMethodInvocation invocation, string response)

Helper function used in service implementations to finish handling invocations of the Command D-Bus method.

If you instead want to finish handling an invocation by returning an error, use return_error or similar.

This method will free invocation, you cannot use it afterwards.

Parameters:

this

A GdbusModem.

invocation

A DBusMethodInvocation.

response

Parameter to return.