1<!DOCTYPE html> 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<html> 97<head> 98 99 100<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 101<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> 102<meta content="IE=edge" http-equiv="X-UA-Compatible"> 103 104<link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" /> 105<title>RequiresDevice | Android Developers</title> 106 107<!-- STYLESHEETS --> 108<link rel="stylesheet" 109href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> 110<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 111 title="roboto"> 112 113<link href="../../../../../assets/css/default.css?v=7" rel="stylesheet" type="text/css"> 114 115 116<!-- FULLSCREEN STYLESHEET --> 117<link href="../../../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" 118type="text/css"> 119 120 121<!-- JAVASCRIPT --> 122<script src="http://www.google.com/jsapi" type="text/javascript"></script> 123<script src="../../../../../assets/js/android_3p-bundle.js" type="text/javascript"></script> 124<script type="text/javascript"> 125 var toRoot = "../../../../../"; 126 var metaTags = []; 127 var devsite = false; 128</script> 129<script src="../../../../../assets/js/docs.js?v=5" type="text/javascript"></script> 130 131 132 133<script> 134 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 135 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 136 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 137 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 138 139 ga('create', 'UA-5831155-1', 'android.com'); 140 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 141 ga('send', 'pageview'); 142 ga('universal.send', 'pageview'); // Send page view for new tracker. 143</script> 144 145</head> 146 147<body class="gc-documentation 148 develop reference" itemscope itemtype="http://schema.org/Article"> 149 <div id="doc-api-level" class="" style="display:none"></div> 150 <a name="top"></a> 151 152<a name="top"></a> 153 154<!-- dialog to prompt lang pref change when loaded from hardcoded URL 155<div id="langMessage" style="display:none"> 156 <div> 157 <div class="lang en"> 158 <p>You requested a page in English, would you like to proceed with this language setting?</p> 159 </div> 160 <div class="lang es"> 161 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> 162 </div> 163 <div class="lang ja"> 164 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> 165 </div> 166 <div class="lang ko"> 167 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> 168 </div> 169 <div class="lang ru"> 170 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> 171 </div> 172 <div class="lang zh-cn"> 173 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> 174 </div> 175 <div class="lang zh-tw"> 176 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> 177 </div> 178 <a href="#" class="button yes" onclick="return false;"> 179 <span class="lang en">Yes</span> 180 <span class="lang es">Sí</span> 181 <span class="lang ja">Yes</span> 182 <span class="lang ko">Yes</span> 183 <span class="lang ru">Yes</span> 184 <span class="lang zh-cn">是的</span> 185 <span class="lang zh-tw">没有</span> 186 </a> 187 <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> 188 <span class="lang en">No</span> 189 <span class="lang es">No</span> 190 <span class="lang ja">No</span> 191 <span class="lang ko">No</span> 192 <span class="lang ru">No</span> 193 <span class="lang zh-cn">没有</span> 194 <span class="lang zh-tw">没有</span> 195 </a> 196 </div> 197</div> --> 198 199 200 <!-- Header --> 201 <div id="header-wrapper"> 202 <div class="dac-header" id="header"> 203 204 205 206 207 <div class="dac-header-inner"> 208 <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation"> 209 <span class="dac-nav-hamburger"> 210 <span class="dac-nav-hamburger-top"></span> 211 <span class="dac-nav-hamburger-mid"></span> 212 <span class="dac-nav-hamburger-bot"></span> 213 </span> 214 </a> 215 <a class="dac-header-logo" href="../../../../../index.html"> 216 <img class="dac-header-logo-image" src="../../../../../assets/images/android_logo.png" 217 srcset="../../../../../assets/images/android_logo@2x.png 2x" 218 width="32" height="36" alt="Android" /> Developers 219 </a> 220 221 <ul class="dac-header-crumbs"> 222 223 <li class="dac-header-crumbs-item"><span class="dac-header-crumbs-link current ">RequiresDevice</a></li> 224 </ul> 225 226 227 228 229 <div class="dac-header-search" id="search-container"> 230 <div class="dac-header-search-inner"> 231 <div class="dac-sprite dac-search dac-header-search-btn" id="search-btn"></div> 232 <form class="dac-header-search-form" onsubmit="return submit_search()"> 233 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 234 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 235 onkeydown="return search_changed(event, true, '../../../../../')" 236 onkeyup="return search_changed(event, false, '../../../../../')" 237 class="dac-header-search-input" placeholder="Search" /> 238 <a class="dac-header-search-close hide" id="search-close">close</a> 239 </form> 240 </div><!-- end dac-header-search-inner --> 241 </div><!-- end dac-header-search --> 242 243 <div class="search_filtered_wrapper"> 244 <div class="suggest-card reference no-display"> 245 <ul class="search_filtered"> 246 </ul> 247 </div> 248 <div class="suggest-card develop no-display"> 249 <ul class="search_filtered"> 250 </ul> 251 <div class="child-card guides no-display"> 252 </div> 253 <div class="child-card training no-display"> 254 </div> 255 <div class="child-card samples no-display"> 256 </div> 257 </div> 258 <div class="suggest-card design no-display"> 259 <ul class="search_filtered"> 260 </ul> 261 </div> 262 <div class="suggest-card distribute no-display"> 263 <ul class="search_filtered"> 264 </ul> 265 </div> 266 </div> 267 268 269 270 <a class="dac-header-console-btn" href="https://play.google.com/apps/publish/"> 271 <span class="dac-sprite dac-google-play"></span> 272 <span class="dac-visible-desktop-inline">Developer</span> 273 Console 274 </a> 275 276 </div><!-- end header-wrap.wrap --> 277 </div><!-- end header --> 278 279 <div id="searchResults" class="wrap" style="display:none;"> 280 <h2 id="searchTitle">Results</h2> 281 <div id="leftSearchControl" class="search-control">Loading...</div> 282 </div> 283 </div> <!--end header-wrapper --> 284 285 286 <!-- Navigation--> 287 <nav class="dac-nav"> 288 <div class="dac-nav-dimmer" data-dac-toggle-nav></div> 289 290 <ul class="dac-nav-list" data-dac-nav> 291 <li class="dac-nav-item dac-nav-head"> 292 <a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascript:;" title="Close navigation"> 293 <img class="dac-logo-image" src="../../../../../assets/images/android_logo.png" 294 srcset="../../../../../assets/images/android_logo@2x.png 2x" 295 width="32" height="36" alt="Android" /> Developers 296 </a> 297 </li> 298 <li class="dac-nav-item home"> 299 <a class="dac-nav-link dac-visible-mobile-block" href="../../../../../index.html">Home</a> 300 <ul class="dac-nav-secondary about"> 301 <li class="dac-nav-item about"> 302 <a class="dac-nav-link" href="../../../../../about/index.html">Android</a> 303 </li> 304 <li class="dac-nav-item wear"> 305 <a class="dac-nav-link" href="../../../../../wear/index.html">Wear</a> 306 </li> 307 <li class="dac-nav-item tv"> 308 <a class="dac-nav-link" href="../../../../../tv/index.html">TV</a> 309 </li> 310 <li class="dac-nav-item auto"> 311 <a class="dac-nav-link" href="../../../../../auto/index.html">Auto</a> 312 </li> 313 </ul> 314 </li> 315 <li class="dac-nav-item design"> 316 <a class="dac-nav-link" href="../../../../../design/index.html" 317 zh-tw-lang="設計" 318 zh-cn-lang="设计" 319 ru-lang="Проектирование" 320 ko-lang="디자인" 321 ja-lang="設計" 322 es-lang="Diseñar">Design</a> 323 </li> 324 <li class="dac-nav-item develop"> 325 <a class="dac-nav-link" href="../../../../../develop/index.html" 326 zh-tw-lang="開發" 327 zh-cn-lang="开发" 328 ru-lang="Разработка" 329 ko-lang="개발" 330 ja-lang="開発" 331 es-lang="Desarrollar">Develop</a> 332 <ul class="dac-nav-secondary develop"> 333 <li class="dac-nav-item training"> 334 <a class="dac-nav-link" href="../../../../../training/index.html" 335 zh-tw-lang="訓練課程" 336 zh-cn-lang="培训" 337 ru-lang="Курсы" 338 ko-lang="교육" 339 ja-lang="トレーニング" 340 es-lang="Capacitación">Training</a> 341 </li> 342 <li class="dac-nav-item guide"> 343 <a class="dac-nav-link" href="../../../../../guide/index.html" 344 zh-tw-lang="API 指南" 345 zh-cn-lang="API 指南" 346 ru-lang="Руководства по API" 347 ko-lang="API 가이드" 348 ja-lang="API ガイド" 349 es-lang="Guías de la API">API Guides</a> 350 </li> 351 <li class="dac-nav-item reference"> 352 <a class="dac-nav-link" href="../../../../../reference/packages.html" 353 zh-tw-lang="參考資源" 354 zh-cn-lang="参考" 355 ru-lang="Справочник" 356 ko-lang="참조문서" 357 ja-lang="リファレンス" 358 es-lang="Referencia">Reference</a> 359 </li> 360 <li class="dac-nav-item tools"> 361 <a class="dac-nav-link" href="../../../../../sdk/index.html" 362 zh-tw-lang="相關工具" 363 zh-cn-lang="工具" 364 ru-lang="Инструменты" 365 ko-lang="도구" 366 ja-lang="ツール" 367 es-lang="Herramientas">Tools</a></li> 368 <li class="dac-nav-item google"> 369 <a class="dac-nav-link" href="../../../../../google/index.html">Google Services</a> 370 </li> 371 372 <li class="dac-nav-item preview"> 373 <a class="dac-nav-link" href="../../../../../preview/index.html">Preview</a> 374 </li> 375 </ul> 376 </li> 377 <li class="dac-nav-item distribute"> 378 <a class="dac-nav-link" href="../../../../../distribute/index.html" 379 zh-tw-lang="發佈" 380 zh-cn-lang="分发" 381 ru-lang="Распространение" 382 ko-lang="배포" 383 ja-lang="配布" 384 es-lang="Distribuir">Distribute</a> 385 <ul class="dac-nav-secondary distribute"> 386 <li class="dac-nav-item googleplay"> 387 <a class="dac-nav-link" href="../../../../../distribute/googleplay/index.html">Google Play</a></li> 388 <li class="dac-nav-item essentials"> 389 <a class="dac-nav-link" href="../../../../../distribute/essentials/index.html">Essentials</a></li> 390 <li class="dac-nav-item users"> 391 <a class="dac-nav-link" href="../../../../../distribute/users/index.html">Get Users</a></li> 392 <li class="dac-nav-item engage"> 393 <a class="dac-nav-link" href="../../../../../distribute/engage/index.html">Engage & Retain</a></li> 394 <li class="dac-nav-item monetize"> 395 <a class="dac-nav-link" href="../../../../../distribute/monetize/index.html">Earn</a> 396 </li> 397 <li class="dac-nav-item analyze"> 398 <a class="dac-nav-link" href="../../../../../distribute/analyze/index.html">Analyze</a> 399 </li> 400 <li class="dac-nav-item stories"> 401 <a class="dac-nav-link" href="../../../../../distribute/stories/index.html">Stories</a> 402 </li> 403 </ul> 404 </li> 405 </ul> 406 </nav> 407 <!-- end navigation--> 408 409 410 411 412 413 414 <div class="wrap clearfix" id="body-content"><div class="cols"> 415 <div class="col-4 dac-hidden-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 416 <div id="devdoc-nav"> 417 <div id="api-nav-header"> 418 <div id="api-level-toggle"> 419 <label for="apiLevelCheckbox" class="disabled" 420 title="Select your target API level to dim unavailable APIs">API level: </label> 421 <div class="select-wrapper"> 422 <select id="apiLevelSelector"> 423 <!-- option elements added by buildApiLevelSelector() --> 424 </select> 425 </div> 426 </div><!-- end toggle --> 427 <div id="api-nav-title">Android APIs</div> 428 </div><!-- end nav header --> 429 <script> 430 var SINCE_DATA = [ ]; 431 buildApiLevelSelector(); 432 </script> 433 434 <div id="swapper"> 435 <div id="nav-panels"> 436 <div id="resize-packages-nav"> 437 <div id="packages-nav" class="scroll-pane"> 438 439 <ul> 440 441 <li class="api apilevel-"> 442 <a href="../../../../../reference/android/support/test/package-summary.html">android.support.test</a></li> 443 <li class="api apilevel-"> 444 <a href="../../../../../reference/android/support/test/annotation/package-summary.html">android.support.test.annotation</a></li> 445 <li class="api apilevel-"> 446 <a href="../../../../../reference/android/support/test/espresso/package-summary.html">android.support.test.espresso</a></li> 447 <li class="api apilevel-"> 448 <a href="../../../../../reference/android/support/test/espresso/action/package-summary.html">android.support.test.espresso.action</a></li> 449 <li class="api apilevel-"> 450 <a href="../../../../../reference/android/support/test/espresso/assertion/package-summary.html">android.support.test.espresso.assertion</a></li> 451 <li class="api apilevel-"> 452 <a href="../../../../../reference/android/support/test/espresso/base/package-summary.html">android.support.test.espresso.base</a></li> 453 <li class="api apilevel-"> 454 <a href="../../../../../reference/android/support/test/espresso/contrib/package-summary.html">android.support.test.espresso.contrib</a></li> 455 <li class="api apilevel-"> 456 <a href="../../../../../reference/android/support/test/espresso/intent/package-summary.html">android.support.test.espresso.intent</a></li> 457 <li class="api apilevel-"> 458 <a href="../../../../../reference/android/support/test/espresso/intent/matcher/package-summary.html">android.support.test.espresso.intent.matcher</a></li> 459 <li class="api apilevel-"> 460 <a href="../../../../../reference/android/support/test/espresso/intent/rule/package-summary.html">android.support.test.espresso.intent.rule</a></li> 461 <li class="api apilevel-"> 462 <a href="../../../../../reference/android/support/test/espresso/matcher/package-summary.html">android.support.test.espresso.matcher</a></li> 463 <li class="api apilevel-"> 464 <a href="../../../../../reference/android/support/test/espresso/util/package-summary.html">android.support.test.espresso.util</a></li> 465 <li class="api apilevel-"> 466 <a href="../../../../../reference/android/support/test/espresso/web/action/package-summary.html">android.support.test.espresso.web.action</a></li> 467 <li class="api apilevel-"> 468 <a href="../../../../../reference/android/support/test/espresso/web/assertion/package-summary.html">android.support.test.espresso.web.assertion</a></li> 469 <li class="api apilevel-"> 470 <a href="../../../../../reference/android/support/test/espresso/web/bridge/package-summary.html">android.support.test.espresso.web.bridge</a></li> 471 <li class="api apilevel-"> 472 <a href="../../../../../reference/android/support/test/espresso/web/matcher/package-summary.html">android.support.test.espresso.web.matcher</a></li> 473 <li class="api apilevel-"> 474 <a href="../../../../../reference/android/support/test/espresso/web/model/package-summary.html">android.support.test.espresso.web.model</a></li> 475 <li class="api apilevel-"> 476 <a href="../../../../../reference/android/support/test/espresso/web/sugar/package-summary.html">android.support.test.espresso.web.sugar</a></li> 477 <li class="api apilevel-"> 478 <a href="../../../../../reference/android/support/test/espresso/web/webdriver/package-summary.html">android.support.test.espresso.web.webdriver</a></li> 479 <li class="selected api apilevel-"> 480 <a href="../../../../../reference/android/support/test/filters/package-summary.html">android.support.test.filters</a></li> 481 <li class="api apilevel-"> 482 <a href="../../../../../reference/android/support/test/rule/package-summary.html">android.support.test.rule</a></li> 483 <li class="api apilevel-"> 484 <a href="../../../../../reference/android/support/test/runner/package-summary.html">android.support.test.runner</a></li> 485 <li class="api apilevel-"> 486 <a href="../../../../../reference/android/support/test/runner/intent/package-summary.html">android.support.test.runner.intent</a></li> 487 <li class="api apilevel-"> 488 <a href="../../../../../reference/android/support/test/runner/lifecycle/package-summary.html">android.support.test.runner.lifecycle</a></li> 489 <li class="api apilevel-"> 490 <a href="../../../../../reference/android/support/test/uiautomator/package-summary.html">android.support.test.uiautomator</a></li> 491 </ul><br/> 492 493 </div> <!-- end packages-nav --> 494 </div> <!-- end resize-packages --> 495 <div id="classes-nav" class="scroll-pane"> 496 497 498 499 <ul> 500 501 <li><h2>Annotations</h2> 502 <ul> 503 <li class="api apilevel-"><a href="../../../../../reference/android/support/test/filters/FlakyTest.html">FlakyTest</a></li> 504 <li class="selected api apilevel-"><a href="../../../../../reference/android/support/test/filters/RequiresDevice.html">RequiresDevice</a></li> 505 <li class="api apilevel-"><a href="../../../../../reference/android/support/test/filters/SdkSuppress.html">SdkSuppress</a></li> 506 </ul> 507 </li> 508 509 510 511 512 513 </ul><br/> 514 515 516 </div><!-- end classes --> 517 </div><!-- end nav-panels --> 518 <div id="nav-tree" style="display:none" class="scroll-pane"> 519 <div id="tree-list"></div> 520 </div><!-- end nav-tree --> 521 </div><!-- end swapper --> 522 <div id="nav-swap"> 523 <a class="fullscreen">fullscreen</a> 524 <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> 525 </div> 526 </div> <!-- end devdoc-nav --> 527 </div> <!-- end side-nav --> 528 <script type="text/javascript"> 529 // init fullscreen based on user pref 530 var fullscreen = readCookie("fullscreen"); 531 if (fullscreen != 0) { 532 if (fullscreen == "false") { 533 toggleFullscreen(false); 534 } else { 535 toggleFullscreen(true); 536 } 537 } 538 // init nav version for mobile 539 if (isMobile) { 540 swapNav(); // tree view should be used on mobile 541 $('#nav-swap').hide(); 542 } else { 543 chooseDefaultNav(); 544 if ($("#nav-tree").is(':visible')) { 545 init_default_navtree("../../../../../"); 546 } 547 } 548 // scroll the selected page into view 549 $(document).ready(function() { 550 scrollIntoView("packages-nav"); 551 scrollIntoView("classes-nav"); 552 }); 553 </script> 554 555 556 557 558 559<div class="col-12" id="doc-col"> 560 561<div id="api-info-block"> 562 563 564 565 566 567 568 569 570 571 572 573<div class="sum-details-links"> 574 575Summary: 576 577 578 579 580 581 582 583 584 585 586 587 588 589 <a href="#inhmethods">Inherited Methods</a> 590 591| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 592 593</div><!-- end sum-details-links --> 594<div class="api-level"> 595 596 597 598 599</div> 600</div><!-- end api-info-block --> 601 602 603<!-- ======== START OF CLASS DATA ======== --> 604 605<div id="jd-header"> 606 public 607 608 609 abstract 610 @interface 611<h1 itemprop="name">RequiresDevice</h1> 612 613 614 615 616 617 implements 618 619 Annotation 620 621 622 623 624 625 626 627 628</div><!-- end header --> 629 630<div id="naMessage"></div> 631 632<div id="jd-content" class="api apilevel-"> 633<table class="jd-inheritance-table"> 634 635 636 <tr> 637 638 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.filters.RequiresDevice</td> 639 </tr> 640 641 642</table> 643 644 645 646 647 648 649 650<div class="jd-descr"> 651 652 653<h2>Class Overview</h2> 654<p itemprop="articleBody">Indicates that a specific test should not be run on emulator. 655 <p/> 656 It will be executed only if the test is running on the physical android device. 657</p> 658 659 660 661 662 663</div><!-- jd-descr --> 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680<div class="jd-descr"> 681 682 683<h2>Summary</h2> 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716<!-- ========== METHOD SUMMARY =========== --> 717<table id="inhmethods" class="jd-sumtable"><tr><th> 718 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 719 <div style="clear:left;">Inherited Methods</div></th></tr> 720 721 722<tr class="api apilevel-" > 723<td colspan="12"> 724 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.annotation.Annotation" class="jd-expando-trigger closed" 725 ><img id="inherited-methods-java.lang.annotation.Annotation-trigger" 726 src="../../../../../assets/images/triangle-closed.png" 727 class="jd-expando-trigger-img" /></a> 728From interface 729 730 java.lang.annotation.Annotation 731 732<div id="inherited-methods-java.lang.annotation.Annotation"> 733 <div id="inherited-methods-java.lang.annotation.Annotation-list" 734 class="jd-inheritedlinks"> 735 </div> 736 <div id="inherited-methods-java.lang.annotation.Annotation-summary" style="display: none;"> 737 <table class="jd-sumtable-expando"> 738 739 740 741 742 <tr class="alt-color api apilevel-" > 743 <td class="jd-typecol"><nobr> 744 abstract 745 746 747 748 749 Class<? extends Annotation></nobr> 750 </td> 751 <td class="jd-linkcol" width="100%"><nobr> 752 <span class="sympad">annotationType</span>()</nobr> 753 754 </td></tr> 755 756 757 758 <tr class=" api apilevel-" > 759 <td class="jd-typecol"><nobr> 760 abstract 761 762 763 764 765 boolean</nobr> 766 </td> 767 <td class="jd-linkcol" width="100%"><nobr> 768 <span class="sympad">equals</span>(Object arg0)</nobr> 769 770 </td></tr> 771 772 773 774 <tr class="alt-color api apilevel-" > 775 <td class="jd-typecol"><nobr> 776 abstract 777 778 779 780 781 int</nobr> 782 </td> 783 <td class="jd-linkcol" width="100%"><nobr> 784 <span class="sympad">hashCode</span>()</nobr> 785 786 </td></tr> 787 788 789 790 <tr class=" api apilevel-" > 791 <td class="jd-typecol"><nobr> 792 abstract 793 794 795 796 797 String</nobr> 798 </td> 799 <td class="jd-linkcol" width="100%"><nobr> 800 <span class="sympad">toString</span>()</nobr> 801 802 </td></tr> 803 804 805</table> 806 </div> 807</div> 808</td></tr> 809 810 811</table> 812 813 814</div><!-- jd-descr (summary) --> 815 816<!-- Details --> 817 818 819 820 821 822 823 824 825<!-- XML Attributes --> 826 827 828<!-- Enum Values --> 829 830 831<!-- Constants --> 832 833 834<!-- Fields --> 835 836 837<!-- Public ctors --> 838 839 840 841<!-- ========= CONSTRUCTOR DETAIL ======== --> 842<!-- Protected ctors --> 843 844 845 846<!-- ========= METHOD DETAIL ======== --> 847<!-- Public methdos --> 848 849 850 851<!-- ========= METHOD DETAIL ======== --> 852 853 854 855<!-- ========= END OF CLASS DATA ========= --> 856<A NAME="navbar_top"></A> 857</div> <!-- jd-content --> 858 859<div class="wrap"> 860 <div class="dac-footer"> 861 <div class="cols dac-footer-main"> 862 <div class="col-1of2"> 863 <a class="dac-footer-getnews" data-modal-toggle="newsletter" href="javascript:;">Get news & tips <span 864 class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i></span></a> 865 </div> 866 <div class="col-1of2 dac-footer-reachout"> 867 <div class="dac-footer-contact"> 868 <a class="dac-footer-contact-link" href="http://android-developers.blogspot.com/">Blog</a> 869 <a class="dac-footer-contact-link" href="/support.html">Support</a> 870 </div> 871 <div class="dac-footer-social"> 872 <a class="dac-fab dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers"><i class="dac-sprite dac-youtube"></i></a> 873 <a class="dac-fab dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers"><i class="dac-sprite dac-gplus"></i></a> 874 <a class="dac-fab dac-footer-social-link" href="https://twitter.com/AndroidDev"><i class="dac-sprite dac-twitter"></i></a> 875 </div> 876 </div> 877 </div> 878 879 <hr class="dac-footer-separator"/> 880 881 882 <p class="dac-footer-copyright"> 883 884 Except as noted, this content is licensed under <a 885 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 886 For details and restrictions, see the <a href="../../../../../license.html"> 887 Content License</a>. 888 </p> 889 <p class="dac-footer-build"> 890 891 Android r — 892<script src="../../../../../timestamp.js" type="text/javascript"></script> 893<script>document.write(BUILD_TIMESTAMP)</script> 894 895 </p> 896 897 898 <p class="dac-footer-links"> 899 <a href="/about/index.html">About Android</a> 900 <a href="/auto/index.html">Auto</a> 901 <a href="/tv/index.html">TV</a> 902 <a href="/wear/index.html">Wear</a> 903 <a href="/legal.html">Legal</a> 904 905 <span id="language" class="locales"> 906 <select name="language" onchange="changeLangPref(this.value, true)"> 907 <option value="en" selected="selected">English</option> 908 <option value="es">Español</option> 909 <option value="ja">日本語</option> 910 <option value="ko">한국어</option> 911 <option value="ru">Русский</option> 912 <option value="zh-cn">中文(简体)</option> 913 <option value="zh-tw">中文(繁體)</option> 914 </select> 915 </span> 916 </p> 917 </div> 918</div> <!-- end footer --> 919 920<div data-modal="newsletter" data-newsletter data-swap class="dac-modal newsletter"> 921 <div class="dac-modal-container"> 922 <div class="dac-modal-window"> 923 <header class="dac-modal-header"> 924 <button class="dac-modal-header-close" data-modal-toggle><i class="dac-sprite dac-close"></i></button> 925 <div class="dac-swap" data-swap-container> 926 <section class="dac-swap-section dac-active dac-down"> 927 <h2 class="norule dac-modal-header-title">Get the latest Android developer news and tips that will help you find success on Google Play.</h2> 928 <p class="dac-modal-header-subtitle">* Required Fields</p> 929 </section> 930 <section class="dac-swap-section dac-up"> 931 <h2 class="norule dac-modal-header-title">Hooray!</h2> 932 </section> 933 </div> 934 </header> 935 <div class="dac-swap" data-swap-container> 936 <section class="dac-swap-section dac-active dac-left"> 937 <form action="https://docs.google.com/forms/d/1QgnkzbEJIDu9lMEea0mxqWrXUJu0oBCLD7ar23V0Yys/formResponse" class="dac-form" method="post" target="dac-newsletter-iframe"> 938 <section class="dac-modal-content"> 939 <fieldset class="dac-form-fieldset"> 940 <div class="cols"> 941 <div class="col-1of2 newsletter-leftCol"> 942 <div class="dac-form-input-group"> 943 <label for="newsletter-full-name" class="dac-form-floatlabel">Full name</label> 944 <input type="text" class="dac-form-input" name="entry.1357890476" id="newsletter-full-name" required> 945 <span class="dac-form-required">*</span> 946 </div> 947 <div class="dac-form-input-group"> 948 <label for="newsletter-email" class="dac-form-floatlabel">Email address</label> 949 <input type="email" class="dac-form-input" name="entry.472100832" id="newsletter-email" required> 950 <span class="dac-form-required">*</span> 951 </div> 952 </div> 953 <div class="col-1of2 newsletter-rightCol"> 954 <div class="dac-form-input-group"> 955 <label for="newsletter-company" class="dac-form-floatlabel">Company / developer name</label> 956 <input type="text" class="dac-form-input" name="entry.1664780309" id="newsletter-company"> 957 </div> 958 <div class="dac-form-input-group"> 959 <label for="newsletter-play-store" class="dac-form-floatlabel">One of your Play Store app URLs</label> 960 <input type="url" class="dac-form-input" name="entry.47013838" id="newsletter-play-store" required> 961 <span class="dac-form-required">*</span> 962 </div> 963 </div> 964 </div> 965 </fieldset> 966 <fieldset class="dac-form-fieldset"> 967 <div class="cols"> 968 <div class="col-1of2 newsletter-leftCol"> 969 <legend class="dac-form-legend">Which best describes your business:<span class="dac-form-required">*</span> 970 </legend> 971 <div class="dac-form-radio-group"> 972 <input type="radio" value="Apps" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-app" required> 973 <label for="newsletter-business-type-app" class="dac-form-radio-button"></label> 974 <label for="newsletter-business-type-app" class="dac-form-label">Apps</label> 975 </div> 976 <div class="dac-form-radio-group"> 977 <input type="radio" value="Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-games" required> 978 <label for="newsletter-business-type-games" class="dac-form-radio-button"></label> 979 <label for="newsletter-business-type-games" class="dac-form-label">Games</label> 980 </div> 981 <div class="dac-form-radio-group"> 982 <input type="radio" value="Apps and Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required> 983 <label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label> 984 <label for="newsletter-business-type-appsgames" class="dac-form-label">Apps & Games</label> 985 </div> 986 </div> 987 <div class="col-1of2 newsletter-rightCol newsletter-checkboxes"> 988 <div class="dac-form-radio-group"> 989 <div class="dac-media"> 990 <div class="dac-media-figure"> 991 <input type="checkbox" class="dac-form-checkbox" name="entry.732309842" id="newsletter-add" required value="Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities."> 992 <label for="newsletter-add" class="dac-form-checkbox-button"></label> 993 </div> 994 <div class="dac-media-body"> 995 <label for="newsletter-add" class="dac-form-label dac-form-aside">Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.<span class="dac-form-required">*</span></label> 996 </div> 997 </div> 998 </div> 999 <div class="dac-form-radio-group"> 1000 <div class="dac-media"> 1001 <div class="dac-media-figure"> 1002 <input type="checkbox" class="dac-form-checkbox" name="entry.2045036090" id="newsletter-terms" required value="I acknowledge that the information provided in this form will be subject to Google's privacy policy (https://www.google.com/policies/privacy/)."> 1003 <label for="newsletter-terms" class="dac-form-checkbox-button"></label> 1004 </div> 1005 <div class="dac-media-body"> 1006 <label for="newsletter-terms" class="dac-form-label dac-form-aside">I acknowledge that the information provided in this form will be subject to <a href="https://www.google.com/policies/privacy/">Google's privacy policy</a>.<span class="dac-form-required">*</span></label> 1007 </div> 1008 </div> 1009 </div> 1010 </div> 1011 </div> 1012 </fieldset> 1013 </section> 1014 <footer class="dac-modal-footer"> 1015 <div class="cols"> 1016 <div class="col-2of5"> 1017 </div> 1018 </div> 1019 <button type="submit" value="Submit" class="dac-fab dac-primary dac-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button> 1020 </footer> 1021 </form> 1022 </section> 1023 <section class="dac-swap-section dac-right"> 1024 <div class="dac-modal-content"> 1025 <p class="newsletter-success-message"> 1026 You have successfully signed up for the latest Android developer news and tips. 1027 </p> 1028 </div> 1029 </section> 1030 </div> 1031 </div> 1032 </div> 1033</div> <!-- end footer --> 1034 1035</div><!-- end doc-content --> 1036 1037</div> <!-- end .cols --> 1038</div> <!-- end body-content --> 1039 1040 1041 1042 1043 1044 1045</body> 1046</html> 1047