Libraryless. Click here for Pure Java version (6270L/35K).
sclass ScreenCamStreamWithMeta extends SourceTriggeredStream<ScreenShotMeta> is Steppable { settable volatile Rect area = screenBounds(0); public bool step() { if (ended()) false; catchError(lambda0 shootImpl); true; } long frameCount() { ret elementCount(); } void shootImpl { newElement(shootScreenWithMeta(area)); } void useScreen(int iScreen) { area = screenBounds_safe(iScreen); } }
Began life as a copy of #1033670
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034011 |
Snippet name: | ScreenCamStreamWithMeta |
Eternal ID of this version: | #1034011/1 |
Text MD5: | 245fbc9061f244c0df2c8ba62c56f009 |
Transpilation MD5: | dbecfab7b46b9107939e64a28246b6da |
Author: | stefan |
Category: | javax / screen recognition |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-17 00:12:16 |
Source code size: | 451 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 148 / 209 |
Referenced in: | [show references] |