handle_inhibit_device
Description:
public virtual signal bool handle_inhibit_device (DBusMethodInvocation invocation, string arg_uid, bool arg_inhibit)
Signal emitted when a remote caller is invoking the InhibitDevice 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_inhibit_device 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 | |
arg_uid |
Argument passed by remote caller. |
arg_inhibit |
Argument passed by remote caller. |
Returns:
DBUS_METHOD_INVOCATION_HANDLED or |