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