public class Win32SystemInfo extends Object implements SystemInfo
Modifier and Type | Field and Description |
---|---|
protected User32.LASTINPUTINFO |
lastInputInfo
|
Constructor and Description |
---|
Win32SystemInfo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getIdleTime()
Get system idle time in milliseconds.
|
int |
getIdleTimeMillisWin32()
Get the amount of milliseconds that have elapsed since the last input
event (mouse or keyboard)
|
protected User32.LASTINPUTINFO lastInputInfo
public int getIdleTimeMillisWin32()
public long getIdleTime()
SystemInfo
getIdleTime
in interface SystemInfo
Copyright © 2007–2013 CodeLutin. All rights reserved.