Flutter Engine
The Flutter Engine
|
Static Public Member Functions | |
static synchronized void | onCreate () |
static synchronized void | finish () |
static synchronized void | writeFile ( @NonNull String filename, @NonNull CountDownLatch latch) |
static void | capture (@NonNull TestableFlutterActivity activity, @NonNull String captureName) throws Exception |
Allows to capture screenshots, and transfers the screenshots to the host where they can be further proccessed. On a LUCI environment, the screenshots are sent to Skia Gold.
Definition at line 22 of file ScreenshotUtil.java.
|
inlinestatic |
Captures a screenshot of the activity, and sends the screenshot bytes to the host where it is further processed.
The activity must be already launched.
activity | The target activity. |
fileName | The name of the file. |
Definition at line 125 of file ScreenshotUtil.java.
|
inlinestatic |
Closes the connection with the host.
Definition at line 80 of file ScreenshotUtil.java.
|
inlinestatic |
Starts the connection with the host.
Definition at line 62 of file ScreenshotUtil.java.
|
inlinestatic |
Sends the file to the host.
filename | The file name. |
fileContent | The file content. |
Definition at line 100 of file ScreenshotUtil.java.