Method
PhoshIdleDBusIdleMonitorcall_add_idle_watch_sync
Declaration [src]
gboolean
phosh_idle_dbus_idle_monitor_call_add_idle_watch_sync (
PhoshIdleDBusIdleMonitor* proxy,
guint64 arg_interval,
guint* out_id,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously invokes the AddIdleWatch() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See phosh_idle_dbus_idle_monitor_call_add_idle_watch()
for the asynchronous version of this method.
Parameters
arg_interval |
guint64 |
Argument to pass with the method invocation. |
|
out_id |
guint* |
Return location for return parameter or |
|
The argument will be set by the function. | |
The argument can be NULL . | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |