Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The application needs to be informed if activity (keyboard or mouse input) has (or has not) occurred in a given period.

SSF Activity API


Code Block
SYM_APIssf.registerActivityDetection(periodthrottle, callback);

period throttle (number): Time minimum report period in milliseconds.

callback: the callback is invoked when the activity occurs. 

Every time period the callback will be invoked and pass back a boolean value.  The boolean value will be true if activity has occurred in the last period and false if no activity has occurred.  Activity is defined as keyboard or mouse interaction anywhere in the OS.

...