class 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 types

Public properties

View!

Public functions

getWindowLayoutParams

fun getWindowLayoutParams(): EspressoOptional<WindowManager.LayoutParams!>!

getWindowLayoutParams2

fun getWindowLayoutParams2(): WindowManager.LayoutParams!

isReady

fun isReady(): Boolean

Checks if the Root is ready. The UI is no longer in flux if layout of the root view is not being requested and the root view has window focus or is focusable.

Returns
Boolean

if the root view has focus

toString

fun toString(): String!

Public properties

decorView

val decorViewView!