{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AmbiguousViewMatcherException.Builder

class AmbiguousViewMatcherException.Builder


Builder for AmbiguousViewMatcherException.

Summary

Public constructors

Public functions

AmbiguousViewMatcherException!
AmbiguousViewMatcherException.Builder!
AmbiguousViewMatcherException.Builder!
includeViewHierarchy(includeViewHierarchy: Boolean)
AmbiguousViewMatcherException.Builder!
withMaxMsgLen(maxMsgLen: Int)
AmbiguousViewMatcherException.Builder!
withOtherAmbiguousViews(others: Array<View!>!)
AmbiguousViewMatcherException.Builder!
withRootView(rootView: View!)
AmbiguousViewMatcherException.Builder!
withView1(view1: View!)
AmbiguousViewMatcherException.Builder!
withView2(view2: View!)
AmbiguousViewMatcherException.Builder!
withViewHierarchyFile(viewHierarchyFile: String!)
AmbiguousViewMatcherException.Builder!
withViewMatcher(viewMatcher: Matcher<? super View>!)

Public constructors

Builder

Builder()

Public functions

build

fun build(): AmbiguousViewMatcherException!

from

fun from(exception: AmbiguousViewMatcherException!): AmbiguousViewMatcherException.Builder!

includeViewHierarchy

fun includeViewHierarchy(includeViewHierarchy: Boolean): AmbiguousViewMatcherException.Builder!

withMaxMsgLen

fun withMaxMsgLen(maxMsgLen: Int): AmbiguousViewMatcherException.Builder!

withOtherAmbiguousViews

fun withOtherAmbiguousViews(others: Array<View!>!): AmbiguousViewMatcherException.Builder!

withRootView

fun withRootView(rootView: View!): AmbiguousViewMatcherException.Builder!

withView1

fun withView1(view1: View!): AmbiguousViewMatcherException.Builder!

withView2

fun withView2(view2: View!): AmbiguousViewMatcherException.Builder!

withViewHierarchyFile

fun withViewHierarchyFile(viewHierarchyFile: String!): AmbiguousViewMatcherException.Builder!

withViewMatcher

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