StableResult
public final class StableResult
Represents a node that is considered stable and it's returned by androidx.test.uiautomator.waitForStable.
Note that if isTimeout is true, it means that the node was not stable by the end of the timeout.
Summary
Public methods |
|
|---|---|
final @NonNull AccessibilityNodeInfo |
getNode()The latest node acquired, that is stable if |
final Bitmap |
A screenshot of the node if |
final boolean |
Whether the |
Public methods
getNode
public final @NonNull AccessibilityNodeInfo getNode()
The latest node acquired, that is stable if isTimeout is false.
getScreenshot
public final Bitmap getScreenshot()
A screenshot of the node if requireStableScreenshot was set to true.
isTimeout
public final boolean isTimeout()
Whether the waitForStable request timed out. If this value is true, node may not be stable.