Class ScreenCapture
java.lang.Object
uno.anahata.ai.swing.tools.spi.ScreenCapture
Tool provider for capturing screenshots of the host system and application windows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiPartResponseTakes a screenshot of all visible application windows.static StringtakeDeviceScreenshot(int deviceIdx) Takes a screenshot of a specific graphics device.
-
Constructor Details
-
ScreenCapture
public ScreenCapture()
-
-
Method Details
-
takeDeviceScreenshot
-
attachWindowCaptures
Takes a screenshot of all visible application windows.- Returns:
- A MultiPartResponse containing the paths to the captured screenshots.
- Throws:
IOException- if the capture fails.
-
