Libraryless. Click here for Pure Java version (4221L/24K).
sbool dm_hadUserActivityInLastNMinutes(double minutes) { double seconds = cast dm_requireAndCall("#1020622/UserActivityDetector", 'secondsSinceLastActivity); bool activity = seconds <= minutes*60; printVars(+seconds, +minutes, +activity); ret activity; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023281 |
Snippet name: | dm_hadUserActivityInLastNMinutes |
Eternal ID of this version: | #1023281/3 |
Text MD5: | b1c506cb4a5cdf44f2420c33d1a8b170 |
Transpilation MD5: | 17af58e7caa3c47501c92e998574c3c1 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-23 07:47:59 |
Source code size: | 267 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 277 / 366 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |