handle_set_current_capabilities


Description:

public virtual signal bool handle_set_current_capabilities (DBusMethodInvocation invocation, uint arg_capabilities)

Signal emitted when a remote caller is invoking the SetCurrentCapabilities 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_set_current_capabilities or e.g. return_error on it) and no other signal handlers will run. If no signal handler handles the invocation, the UNKNOWN_METHOD error is returned.

Parameters:

invocation

A DBusMethodInvocation.

arg_capabilities

Argument passed by remote caller.

Returns:

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




2022 vala-language.org