public class

UiAutomationWrapper

extends Object
java.lang.Object
   ↳ androidx.test.runner.screenshot.UiAutomationWrapper

Class Overview

Wrapper for UiAutomation object.

Ideally we wouldn't need this abstraction but since UiAutomation is final we need an abstraction on top to be able to mock it in tests.

Summary

Public Methods
Bitmap takeScreenshot()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Bitmap takeScreenshot ()

Returns
Bitmap