1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>UiObject2Condition</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176<div class="sum-details-links"> 177 178Summary: 179 180 181 182 183 184 185 186 187 188 <a href="#pubctors">Ctors</a> 189 190 191 192 193 194 195 | <a href="#inhmethods">Inherited Methods</a> 196 197| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 198 199</div><!-- end sum-details-links --> 200</div><!-- end api-info-block --> 201 202<div class="api apilevel-" id="jd-content"> 203 204<!-- ======== START OF CLASS DATA ======== --> 205 206<h1 class="api-title">UiObject2Condition</h1> 207<p> 208<code class="api-signature"> 209 public 210 211 212 abstract 213 class 214 UiObject2Condition 215</code> 216<br> 217 218 219<code class="api-signature"> 220 221 extends Object 222 223 224 225</code> 226 227<code class="api-signature"> 228 229 230 231</code> 232 233</p><table class="jd-inheritance-table"> 234 235 236 <tr> 237 238 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object 239 </td> 240 </tr> 241 242 243 <tr> 244 245 <td class="jd-inheritance-space"> ↳</td> 246 247 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.uiautomator.UiObject2Condition<R> 248 </td> 249 </tr> 250 251 252</table> 253 254 255 256 257<br><hr> 258 259 260 <p>A <code><a href="/reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a></code> is a condition which is satisfied when a <code><a href="/reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code> is in a 261 particular state. 262</p> 263 264 265 266 267 268 269 270<h2 class="api-section">Summary</h2> 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294<!-- ======== CONSTRUCTOR SUMMARY ======== --> 295<table id="pubctors" class="responsive constructors"> 296<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 297 298 299 300 301 <tr class="api apilevel-" > 302 303 304 <td width="100%"> 305 <code> 306 <a href="/reference/android/support/test/uiautomator/UiObject2Condition.html#UiObject2Condition()">UiObject2Condition</a>() 307 </code> 308 309 </td> 310 </tr> 311 312 313 314</table> 315 316 317 318 319 320 321 322 323 324 325 326<!-- ========== METHOD SUMMARY =========== --> 327<table id="inhmethods" class="methods inhtable"> 328<tr><th><h3>Inherited methods</h3></th></tr> 329 330 331<tr class="api apilevel-" > 332<td colspan="2"> 333 334 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 335 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 336 src="/assets/images/styles/disclosure_down.png" 337 class="jd-expando-trigger-img" /></a>From 338class 339<code> 340 341 java.lang.Object 342 343</code> 344<div id="inherited-methods-java.lang.Object"> 345 <div id="inherited-methods-java.lang.Object-list" 346 class="jd-inheritedlinks"> 347 </div> 348 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 349 <table class="jd-sumtable-expando responsive"> 350 351 352 353 354 <tr class="api apilevel-" > 355 356 357 <td><code> 358 359 360 361 362 363 Object</code> 364 </td> 365 366 <td width="100%"> 367 <code> 368 clone() 369 </code> 370 371 </td> 372 </tr> 373 374 375 376 <tr class="api apilevel-" > 377 378 379 <td><code> 380 381 382 383 384 385 boolean</code> 386 </td> 387 388 <td width="100%"> 389 <code> 390 equals(Object arg0) 391 </code> 392 393 </td> 394 </tr> 395 396 397 398 <tr class="api apilevel-" > 399 400 401 <td><code> 402 403 404 405 406 407 void</code> 408 </td> 409 410 <td width="100%"> 411 <code> 412 finalize() 413 </code> 414 415 </td> 416 </tr> 417 418 419 420 <tr class="api apilevel-" > 421 422 423 <td><code> 424 425 426 427 final 428 429 Class<?></code> 430 </td> 431 432 <td width="100%"> 433 <code> 434 getClass() 435 </code> 436 437 </td> 438 </tr> 439 440 441 442 <tr class="api apilevel-" > 443 444 445 <td><code> 446 447 448 449 450 451 int</code> 452 </td> 453 454 <td width="100%"> 455 <code> 456 hashCode() 457 </code> 458 459 </td> 460 </tr> 461 462 463 464 <tr class="api apilevel-" > 465 466 467 <td><code> 468 469 470 471 final 472 473 void</code> 474 </td> 475 476 <td width="100%"> 477 <code> 478 notify() 479 </code> 480 481 </td> 482 </tr> 483 484 485 486 <tr class="api apilevel-" > 487 488 489 <td><code> 490 491 492 493 final 494 495 void</code> 496 </td> 497 498 <td width="100%"> 499 <code> 500 notifyAll() 501 </code> 502 503 </td> 504 </tr> 505 506 507 508 <tr class="api apilevel-" > 509 510 511 <td><code> 512 513 514 515 516 517 String</code> 518 </td> 519 520 <td width="100%"> 521 <code> 522 toString() 523 </code> 524 525 </td> 526 </tr> 527 528 529 530 <tr class="api apilevel-" > 531 532 533 <td><code> 534 535 536 537 final 538 539 void</code> 540 </td> 541 542 <td width="100%"> 543 <code> 544 wait(long arg0, int arg1) 545 </code> 546 547 </td> 548 </tr> 549 550 551 552 <tr class="api apilevel-" > 553 554 555 <td><code> 556 557 558 559 final 560 561 void</code> 562 </td> 563 564 <td width="100%"> 565 <code> 566 wait(long arg0) 567 </code> 568 569 </td> 570 </tr> 571 572 573 574 <tr class="api apilevel-" > 575 576 577 <td><code> 578 579 580 581 final 582 583 void</code> 584 </td> 585 586 <td width="100%"> 587 <code> 588 wait() 589 </code> 590 591 </td> 592 </tr> 593 594 595 596 </table> 597 </div> 598</div> 599</td></tr> 600 601 602</table> 603 604 605 606<!-- XML Attributes --> 607 608 609<!-- Enum Values --> 610 611 612<!-- Constants --> 613 614 615<!-- Fields --> 616 617 618<!-- Public ctors --> 619 620 621<!-- ========= CONSTRUCTOR DETAIL ======== --> 622<h2 class="api-section">Public constructors</h2> 623 624 625 626<A NAME="UiObject2Condition()"></A> 627 628<div class="api apilevel-"> 629 <h3 class="api-name">UiObject2Condition</h3> 630 <div class="api-level"> 631 <div></div> 632 633 634 635 </div> 636<pre class="api-signature no-pretty-print"> 637UiObject2Condition ()</pre> 638 639 640 641 642 <p></p> 643 644</div> 645 646 647 648 649 650<!-- ========= CONSTRUCTOR DETAIL ======== --> 651<!-- Protected ctors --> 652 653 654 655<!-- ========= METHOD DETAIL ======== --> 656<!-- Public methdos --> 657 658 659 660<!-- ========= METHOD DETAIL ======== --> 661 662 663 664<!-- ========= END OF CLASS DATA ========= --> 665 666</div><!-- end jd-content --> 667 668 669 670<div class="data-reference-resources-wrapper"> 671 672 <ul data-reference-resources> 673 674 675 <li><h2>Interfaces</h2> 676 <ul> 677 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/IAutomationSupport.html">IAutomationSupport</a></li> 678 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiWatcher.html">UiWatcher</a></li> 679 </ul> 680 </li> 681 682 <li><h2>Classes</h2> 683 <ul> 684 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/By.html">By</a></li> 685 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/BySelector.html">BySelector</a></li> 686 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Configurator.html">Configurator</a></li> 687 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a></li> 688 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></li> 689 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorInstrumentationTestRunner.html">UiAutomatorInstrumentationTestRunner</a></li> 690 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorTestCase.html">UiAutomatorTestCase</a></li> 691 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiCollection.html">UiCollection</a></li> 692 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiDevice.html">UiDevice</a></li> 693 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject.html">UiObject</a></li> 694 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></li> 695 <li class="selected api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a></li> 696 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiScrollable.html">UiScrollable</a></li> 697 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiSelector.html">UiSelector</a></li> 698 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Until.html">Until</a></li> 699 </ul> 700 </li> 701 702 <li><h2>Enums</h2> 703 <ul> 704 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Direction.html">Direction</a></li> 705 </ul> 706 </li> 707 708 <li><h2>Exceptions</h2> 709 <ul> 710 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/StaleObjectException.html">StaleObjectException</a></li> 711 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html">UiObjectNotFoundException</a></li> 712 </ul> 713 </li> 714 715 </ul> 716 717</div> 718 719 720 721</body> 722</html> 723