Method | Description | |
---|---|---|
AddIdleAction ( System.Action Act ) : void |
Calls the given action if the user does not enter any input (hence acknowledging the action) before being considered idle. For example, a user may wish to only be notified of PushBullet notifications when idle, however after leaving the computer they may receive a message prior to being considered idle, which would cause them to miss it. This method would invoke that notification if they go idle before acknowledging it (by providing any user input anywhere). If the user is currently idle, the action is invoked immediately.
|
|
BeginMonitoring ( ) : void |
Begins monitoring for any idle activity.
|
|
StopMonitoring ( ) : void |
Stops monitoring for idle activity.
|
Method | Description | |
---|---|---|
GetLastInputInfo ( LASTINPUTINFO &plii ) : bool | ||
RunIdleLoop ( ) : void |
public static AddIdleAction ( System.Action Act ) : void | ||
Act | System.Action | |
return | void |