handle_stop


Description:

public virtual signal bool handle_stop (DBusMethodInvocation invocation)

Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.

Stop">Stop</link> D-Bus method.

If a signal handler returns true, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call complete_stop or e.g. return_error on it) and no other signal handlers will run. If no signal handler handles the invocation, the g_dbus_error_unknown_method error is returned.

Parameters:

invocation

A DBusMethodInvocation.

Returns:

g_dbus_method_invocation_handled or true if the invocation was handled, g_dbus_method_invocation_unhandled or false to let other signal handlers run.




2022 vala-language.org