Skip to content

Most visited

Recently visited

navigation

AmbiguousViewMatcherException.Builder

public static class AmbiguousViewMatcherException.Builder
extends Object

java.lang.Object
   ↳ android.support.test.espresso.AmbiguousViewMatcherException.Builder


Builder for AmbiguousViewMatcherException.

Summary

Public constructors

AmbiguousViewMatcherException.Builder()

Public methods

AmbiguousViewMatcherException build()
AmbiguousViewMatcherException.Builder from(AmbiguousViewMatcherException exception)
AmbiguousViewMatcherException.Builder includeViewHierarchy(boolean includeViewHierarchy)
AmbiguousViewMatcherException.Builder withOtherAmbiguousViews(View... others)
AmbiguousViewMatcherException.Builder withRootView(View rootView)
AmbiguousViewMatcherException.Builder withView1(View view1)
AmbiguousViewMatcherException.Builder withView2(View view2)
AmbiguousViewMatcherException.Builder withViewMatcher(Matcher<? super View> viewMatcher)

Inherited methods

From class java.lang.Object

Public constructors

AmbiguousViewMatcherException.Builder

AmbiguousViewMatcherException.Builder ()

Public methods

from

AmbiguousViewMatcherException.Builder from (AmbiguousViewMatcherException exception)

Parameters
exception AmbiguousViewMatcherException

Returns
AmbiguousViewMatcherException.Builder

includeViewHierarchy

AmbiguousViewMatcherException.Builder includeViewHierarchy (boolean includeViewHierarchy)

Parameters
includeViewHierarchy boolean

Returns
AmbiguousViewMatcherException.Builder

withOtherAmbiguousViews

AmbiguousViewMatcherException.Builder withOtherAmbiguousViews (View... others)

Parameters
others View

Returns
AmbiguousViewMatcherException.Builder

withRootView

AmbiguousViewMatcherException.Builder withRootView (View rootView)

Parameters
rootView View

Returns
AmbiguousViewMatcherException.Builder

withView1

AmbiguousViewMatcherException.Builder withView1 (View view1)

Parameters
view1 View

Returns
AmbiguousViewMatcherException.Builder

withView2

AmbiguousViewMatcherException.Builder withView2 (View view2)

Parameters
view2 View

Returns
AmbiguousViewMatcherException.Builder

withViewMatcher

AmbiguousViewMatcherException.Builder withViewMatcher (Matcher<? super View> viewMatcher)

Parameters
viewMatcher Matcher

Returns
AmbiguousViewMatcherException.Builder

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)