이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

Root.Builder

public static class Root.Builder
extends Object

java.lang.Object
   ↳ androidx.test.espresso.Root.Builder


Summary

Public constructors

Root.Builder()

Public methods

Root build()
Root.Builder withDecorView(View view)
Root.Builder withWindowLayoutParams(WindowManager.LayoutParams windowLayoutParams)

Inherited methods

From class java.lang.Object

Public constructors

Root.Builder

Root.Builder ()

Public methods

build

Root build ()

Returns
Root

withDecorView

Root.Builder withDecorView (View view)

Parameters
view View

Returns
Root.Builder

withWindowLayoutParams

Root.Builder withWindowLayoutParams (WindowManager.LayoutParams windowLayoutParams)

Parameters
windowLayoutParams WindowManager.LayoutParams

Returns
Root.Builder