complete_screenshot


Description:

public void complete_screenshot (owned DBusMethodInvocation invocation, bool success, string filename_used)

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-gnome-Shell-Screenshot.

Screenshot">Screenshot</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 DBusScreenshot.

invocation

A DBusMethodInvocation.

success

Parameter to return.

filename_used

Parameter to return.