handle_power_off
Description:
[ Version ( since = "2.0.0" ) ]
public virtual signal bool handle_power_off (DBusMethodInvocation invocation, Variant arg_options)
public virtual signal bool handle_power_off (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the PowerOff 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_power_off or e.g.
return_error on it) and no order signal handlers will run. If
no signal handler handles the invocation, the UNKNOWN_METHOD error
is returned.
Parameters:
invocation | |
arg_options |
Argument passed by remote caller. |
Returns:
|