use of com.stardust.autojs.core.image.ImageWrapper in project Auto.js by hyb1996.
the class Images method captureScreen.
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
public boolean captureScreen(String path) {
path = mScriptRuntime.files.path(path);
ImageWrapper image = captureScreen();
if (image != null) {
saveImage(image, path);
return true;
}
return false;
}
Aggregations