Rename screenshot_clear to screenshot_take_screenshot in FFI

This commit is contained in:
Jackson Coxson
2025-10-21 09:16:47 -06:00
parent a7daac3a46
commit 94624f07af
4 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ class ScreenshotClient {
/// Captures a screenshot and returns it as a PNG buffer.
///
/// On success, returns a vector containing PNG-encoded bytes.
Result<std::vector<uint8_t>, FfiError> capture();
Result<std::vector<uint8_t>, FfiError> take_screenshot();
~ScreenshotClient() noexcept = default;
ScreenshotClient(ScreenshotClient&&) noexcept = default;