Signal
PhoshIdleDBusIdleMonitor::handle-add-idle-watch
since: 0
Declaration
gboolean
handle_add_idle_watch (
PhoshIdleDBusIdleMonitor* self,
GDBusMethodInvocation* invocation,
guint64 arg_interval,
gpointer user_data
)
Description [src]
Signal emitted when a remote caller is invoking the AddIdleWatch() 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 phosh_idle_dbus_idle_monitor_complete_add_idle_watch() or e.g. g_dbus_method_invocation_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.
| Default handler: The default handler is called after the handlers added via |
| Available since: 0 |
Parameters
invocation-
Type:
GDBusMethodInvocationA
GDBusMethodInvocation.The data is owned by the caller of the function. arg_interval-
Type:
guint64Argument passed by remote caller.