Root

public final class Root
extends Object

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


表示应用程序中的根视图以及可选的持有它的窗口的布局参数。 这个类在内部用于确定用户提供的匹配器的哪个视图根目录不是公共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