Method
PhoshIdleDBusIdleMonitorcomplete_get_idletime
Declaration [src]
void
phosh_idle_dbus_idle_monitor_complete_get_idletime (
PhoshIdleDBusIdleMonitor* object,
GDBusMethodInvocation* invocation,
guint64 idletime
)
Description [src]
Helper function used in service implementations to finish handling invocations of the GetIdletime() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Parameters
invocation |
GDBusMethodInvocation |
A |
|
The instance takes ownership of the data, and is responsible for freeing it. | |
idletime |
guint64 |
Parameter to return. |