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>RootViewPicker</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 177 178 179 180 181 182 183<div class="sum-details-links"> 184 185Summary: 186 187 188 189 190 191 192 193 194 195 196 197 <a href="#pubmethods">Methods</a> 198 199 200 201 202 | <a href="#inhmethods">Inherited Methods</a> 203 204| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 205 206</div><!-- end sum-details-links --> 207</div><!-- end api-info-block --> 208 209<div class="api apilevel-" id="jd-content"> 210 211<!-- ======== START OF CLASS DATA ======== --> 212 213<h1 class="api-title">RootViewPicker</h1> 214<p> 215<code class="api-signature"> 216 public 217 218 final 219 220 class 221 RootViewPicker 222</code> 223<br> 224 225 226<code class="api-signature"> 227 228 extends Object 229 230 231 232</code> 233 234<code class="api-signature"> 235 236 237 implements 238 239 Provider<View> 240 241 242 243</code> 244 245</p><table class="jd-inheritance-table"> 246 247 248 <tr> 249 250 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object 251 </td> 252 </tr> 253 254 255 <tr> 256 257 <td class="jd-inheritance-space"> ↳</td> 258 259 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.base.RootViewPicker 260 </td> 261 </tr> 262 263 264</table> 265 266 267 268 269<br><hr> 270 271 272 <p>Provides the root View of the top-most Window, with which the user can interact. View is 273 guaranteed to be in a stable state - i.e. not pending any updates from the application. 274 275 This provider can only be accessed from the main thread. 276</p> 277 278 279 280 281 282 283 284<h2 class="api-section">Summary</h2> 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312<!-- ========== METHOD SUMMARY =========== --> 313<table id="pubmethods" class="responsive methods"> 314<tr><th colspan="2"><h3>Public methods</h3></th></tr> 315 316 317 318 319 <tr class="api apilevel-" > 320 321 322 <td><code> 323 324 325 326 327 328 View</code> 329 </td> 330 331 <td width="100%"> 332 <code> 333 <a href="/reference/android/support/test/espresso/base/RootViewPicker.html#get()">get</a>() 334 </code> 335 336 </td> 337 </tr> 338 339 340 341</table> 342 343 344 345 346 347 348 349<!-- ========== METHOD SUMMARY =========== --> 350<table id="inhmethods" class="methods inhtable"> 351<tr><th><h3>Inherited methods</h3></th></tr> 352 353 354<tr class="api apilevel-" > 355<td colspan="2"> 356 357 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 358 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 359 src="/assets/images/styles/disclosure_down.png" 360 class="jd-expando-trigger-img" /></a>From 361class 362<code> 363 364 java.lang.Object 365 366</code> 367<div id="inherited-methods-java.lang.Object"> 368 <div id="inherited-methods-java.lang.Object-list" 369 class="jd-inheritedlinks"> 370 </div> 371 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 372 <table class="jd-sumtable-expando responsive"> 373 374 375 376 377 <tr class="api apilevel-" > 378 379 380 <td><code> 381 382 383 384 385 386 Object</code> 387 </td> 388 389 <td width="100%"> 390 <code> 391 clone() 392 </code> 393 394 </td> 395 </tr> 396 397 398 399 <tr class="api apilevel-" > 400 401 402 <td><code> 403 404 405 406 407 408 boolean</code> 409 </td> 410 411 <td width="100%"> 412 <code> 413 equals(Object arg0) 414 </code> 415 416 </td> 417 </tr> 418 419 420 421 <tr class="api apilevel-" > 422 423 424 <td><code> 425 426 427 428 429 430 void</code> 431 </td> 432 433 <td width="100%"> 434 <code> 435 finalize() 436 </code> 437 438 </td> 439 </tr> 440 441 442 443 <tr class="api apilevel-" > 444 445 446 <td><code> 447 448 449 450 final 451 452 Class<?></code> 453 </td> 454 455 <td width="100%"> 456 <code> 457 getClass() 458 </code> 459 460 </td> 461 </tr> 462 463 464 465 <tr class="api apilevel-" > 466 467 468 <td><code> 469 470 471 472 473 474 int</code> 475 </td> 476 477 <td width="100%"> 478 <code> 479 hashCode() 480 </code> 481 482 </td> 483 </tr> 484 485 486 487 <tr class="api apilevel-" > 488 489 490 <td><code> 491 492 493 494 final 495 496 void</code> 497 </td> 498 499 <td width="100%"> 500 <code> 501 notify() 502 </code> 503 504 </td> 505 </tr> 506 507 508 509 <tr class="api apilevel-" > 510 511 512 <td><code> 513 514 515 516 final 517 518 void</code> 519 </td> 520 521 <td width="100%"> 522 <code> 523 notifyAll() 524 </code> 525 526 </td> 527 </tr> 528 529 530 531 <tr class="api apilevel-" > 532 533 534 <td><code> 535 536 537 538 539 540 String</code> 541 </td> 542 543 <td width="100%"> 544 <code> 545 toString() 546 </code> 547 548 </td> 549 </tr> 550 551 552 553 <tr class="api apilevel-" > 554 555 556 <td><code> 557 558 559 560 final 561 562 void</code> 563 </td> 564 565 <td width="100%"> 566 <code> 567 wait(long arg0, int arg1) 568 </code> 569 570 </td> 571 </tr> 572 573 574 575 <tr class="api apilevel-" > 576 577 578 <td><code> 579 580 581 582 final 583 584 void</code> 585 </td> 586 587 <td width="100%"> 588 <code> 589 wait(long arg0) 590 </code> 591 592 </td> 593 </tr> 594 595 596 597 <tr class="api apilevel-" > 598 599 600 <td><code> 601 602 603 604 final 605 606 void</code> 607 </td> 608 609 <td width="100%"> 610 <code> 611 wait() 612 </code> 613 614 </td> 615 </tr> 616 617 618 619 </table> 620 </div> 621</div> 622</td></tr> 623 624 625 626<tr class="api apilevel-" > 627<td colspan="2"> 628 629 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-javax.inject.Provider" class="jd-expando-trigger closed" 630 ><img height="34" id="inherited-methods-javax.inject.Provider-trigger" 631 src="/assets/images/styles/disclosure_down.png" 632 class="jd-expando-trigger-img" /></a>From 633interface 634<code> 635 636 javax.inject.Provider 637 638</code> 639<div id="inherited-methods-javax.inject.Provider"> 640 <div id="inherited-methods-javax.inject.Provider-list" 641 class="jd-inheritedlinks"> 642 </div> 643 <div id="inherited-methods-javax.inject.Provider-summary" style="display: none;"> 644 <table class="jd-sumtable-expando responsive"> 645 646 647 648 649 <tr class="api apilevel-" > 650 651 652 <td><code> 653 abstract 654 655 656 657 658 View</code> 659 </td> 660 661 <td width="100%"> 662 <code> 663 get() 664 </code> 665 666 </td> 667 </tr> 668 669 670 671 </table> 672 </div> 673</div> 674</td></tr> 675 676 677</table> 678 679 680 681<!-- XML Attributes --> 682 683 684<!-- Enum Values --> 685 686 687<!-- Constants --> 688 689 690<!-- Fields --> 691 692 693<!-- Public ctors --> 694 695 696 697<!-- ========= CONSTRUCTOR DETAIL ======== --> 698<!-- Protected ctors --> 699 700 701 702<!-- ========= METHOD DETAIL ======== --> 703<!-- Public methdos --> 704 705<h2 class="api-section">Public methods</h2> 706 707 708 709<A NAME="get()"></A> 710 711<div class="api apilevel-"> 712 <h3 class="api-name">get</h3> 713 <div class="api-level"> 714 <div></div> 715 716 717 718 </div> 719<pre class="api-signature no-pretty-print"> 720View get ()</pre> 721 722 723 724 725 <p></p> 726 <table class="responsive"> 727 <tr><th colspan=2>Returns</th></tr> 728 <tr> 729 <td><code>View</code></td> 730 <td width="100%"><!-- no returns description in source --></td> 731 </tr> 732 </table> 733 734</div> 735 736 737 738 739 740<!-- ========= METHOD DETAIL ======== --> 741 742 743 744<!-- ========= END OF CLASS DATA ========= --> 745 746</div><!-- end jd-content --> 747 748 749 750<div class="data-reference-resources-wrapper"> 751 752 <ul data-reference-resources> 753 754 <li><h2>Annotations</h2> 755 <ul> 756 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/Default.html">Default</a></li> 757 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/MainThread.html">MainThread</a></li> 758 </ul> 759 </li> 760 761 <li><h2>Interfaces</h2> 762 <ul> 763 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ActiveRootLister.html">ActiveRootLister</a></li> 764 </ul> 765 </li> 766 767 <li><h2>Classes</h2> 768 <ul> 769 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.html">BaseLayerModule</a></li> 770 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.FailureHandlerHolder.html">BaseLayerModule.FailureHandlerHolder</a></li> 771 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/DefaultFailureHandler.html">DefaultFailureHandler</a></li> 772 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/IdlingResourceRegistry.html">IdlingResourceRegistry</a></li> 773 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/base/RootViewPicker.html">RootViewPicker</a></li> 774 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/UiControllerModule.html">UiControllerModule</a></li> 775 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ViewFinderImpl.html">ViewFinderImpl</a></li> 776 </ul> 777 </li> 778 779 780 781 </ul> 782 783</div> 784 785 786 787</body> 788</html> 789