complete_add_agent


Description:

public void complete_add_agent (owned DBusMethodInvocation invocation)

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.

AddAgent">AddAgent</link> 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 Manager.

invocation

A DBusMethodInvocation.