Method

PhoshIdleDBusIdleMonitorcall_get_idletime_finish

Declaration [src]

gboolean
phosh_idle_dbus_idle_monitor_call_get_idletime_finish (
  PhoshIdleDBusIdleMonitor* proxy,
  guint64* out_idletime,
  GAsyncResult* res,
  GError** error
)

Description [src]

Finishes an operation started with phosh_idle_dbus_idle_monitor_call_get_idletime().

Parameters

out_idletime guint64*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
res GAsyncResult
 

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_idle_dbus_idle_monitor_call_get_idletime().

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the call succeeded, FALSE if error is set.