afterCapturedThis function will be called after capturing commands are executed. The boolean return value indicates screenshot is captured successfully or not. The string return value is the path screenshot is saved in.
filenameThe name of screenshot. It can be just a filename, such as screenshot.png. It can also be a resolute path, such as /sdcard/screenshot.png.
The declaration of utils::captureScreen() for Lua is:
How to Save a ScreenshotOn v3.2 alpha0, utils::captureScreen() is added to save a screenshot.The declaration of utils::captureScreen() is 1void captureScreen(const std::functionvoid(bool, con