| java.lang.Object | |
| ↳ | android.support.test.uiautomator.Until | 
The Until class provides factory methods for constructing common conditions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Returns a condition that depends on a  UiObject2's checkable state. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's checked state. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's clickable state. | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description contains the
 given string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description ends with the
 given string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description exactly matches
 the given string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description matches the given
 regex.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description matches the given
 regex.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's content description starts with the
 given string.
         | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's enabled state. | |||||||||||
| 
          Returns a  SearchConditionthat is satisfied when at least one element matching the
 selector can be found. | |||||||||||
| 
          Returns a  SearchConditionthat is satisfied when at least one element matching the
 selector can be found. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's focusable state. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's focused state. | |||||||||||
| 
          Returns a  SearchConditionthat is satisfied when no elements matching the selector
 can be found. | |||||||||||
| 
          Returns a  SearchConditionthat is satisfied when at least one element matching the
 selector can be found. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's long clickable state. | |||||||||||
| 
          Returns a condition that depends on a new window having appeared.
         | |||||||||||
| 
          Returns a condition that depends on a scroll having reached the end in the given
  direction. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's scrollable state. | |||||||||||
| 
          Returns a condition that depends on a  UiObject2's selected state. | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value contains the given string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value ends with the given
 string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value exactly matches the given
 string.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value matches the given regex.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value matches the given regex.
         | |||||||||||
| 
          Returns a condition that is satisfied when the object's text value starts with the given
 string.
         | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Returns a condition that depends on a UiObject2's checkable state.
| isCheckable | Whether the object should be checkable to satisfy this condition. | 
|---|
Returns a condition that depends on a UiObject2's checked state.
| isChecked | Whether the object should be checked to satisfy this condition. | 
|---|
Returns a condition that depends on a UiObject2's clickable state.
| isClickable | Whether the object should be clickable to satisfy this condition. | 
|---|
Returns a condition that is satisfied when the object's content description contains the given string.
Returns a condition that is satisfied when the object's content description ends with the given string.
Returns a condition that is satisfied when the object's content description exactly matches the given string.
Returns a condition that is satisfied when the object's content description matches the given regex.
Returns a condition that is satisfied when the object's content description matches the given regex.
Returns a condition that is satisfied when the object's content description starts with the given string.
Returns a condition that depends on a UiObject2's enabled state.
| isEnabled | Whether the object should be enabled to satisfy this condition. | 
|---|
Returns a SearchCondition that is satisfied when at least one element matching the
 selector can be found. The condition will return the first matching element.
Returns a SearchCondition that is satisfied when at least one element matching the
 selector can be found. The condition will return all matching elements.
Returns a condition that depends on a UiObject2's focusable state.
| isFocusable | Whether the object should be focusable to satisfy this condition. | 
|---|
Returns a condition that depends on a UiObject2's focused state.
| isFocused | Whether the object should be focused to satisfy this condition. | 
|---|
Returns a SearchCondition that is satisfied when no elements matching the selector
 can be found.
Returns a SearchCondition that is satisfied when at least one element matching the
 selector can be found.
Returns a condition that depends on a UiObject2's long clickable state.
| isLongClickable | Whether the object should be long clickable to satisfy this condition. | 
|---|
Returns a condition that depends on a new window having appeared.
Returns a condition that depends on a scroll having reached the end in the given
 direction.
| direction | The direction of the scroll. | 
|---|
Returns a condition that depends on a UiObject2's scrollable state.
| isScrollable | Whether the object should be scrollable to satisfy this condition. | 
|---|
Returns a condition that depends on a UiObject2's selected state.
| isSelected | Whether the object should be selected to satisfy this condition. | 
|---|
Returns a condition that is satisfied when the object's text value contains the given string.
Returns a condition that is satisfied when the object's text value ends with the given string.
Returns a condition that is satisfied when the object's text value exactly matches the given string.
Returns a condition that is satisfied when the object's text value matches the given regex.
Returns a condition that is satisfied when the object's text value matches the given regex.
Returns a condition that is satisfied when the object's text value starts with the given string.