Root

public final class Root
extends Object

java.lang.Object
   ↳ android.support.test.espresso.Root


Represents a root view in the application and optionally the layout params of the window holding it. This class is used internally to determine which view root to run user provided matchers against it is not part of the public api.

Summary

Nested classes

class Root.Builder

 

Public methods

View getDecorView()
Optional<WindowManager.LayoutParams> getWindowLayoutParams()
String toString()

Inherited methods

From class java.lang.Object

Public methods

getDecorView

View getDecorView ()

Returns
View

getWindowLayoutParams

Optional<WindowManager.LayoutParams> getWindowLayoutParams ()

Returns
Optional<WindowManager.LayoutParams>

toString

String toString ()

Returns
String