int getLastUserActivityTime()
The number of milliseconds, as a timestamp, for the most recent user activity
Security
Trust Level Required: Full Trust
Return
The number of milliseconds, as a timestamp, for when the last user activity occurred (such as mouse movement or keyboard input).
Remarks
This function can be paired with KioUtils.getSystemUptimeMs() to obtain the total number of inactive milliseconds.
Examples
var inactiveMs = KioUtils.getSystemUptimeMs() - KioApp.getLastUserActivityTime();
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.