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 that represents a timestamp for when the last user activity such as mouse movement or keyboard input occurred.

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 for Windows version 8.12 or greater.