InspectableComponent

@Immutable
open class InspectableComponent

Wraps a DebugComponent exposing only information that are safe to use for test assertions.

Functions

Link copied to clipboard
Link copied to clipboard
open fun getBounds(): Rect
Link copied to clipboard
Link copied to clipboard
Get the list of components composed by this component.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns this component's testKey or null if none is set.
Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getKey(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
Obtain an instance of a Component nested inside the given inspectable Component.
Link copied to clipboard
Link copied to clipboard
open fun getSimpleName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String