Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 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 | |
| 97 | |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 98 | |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 99 | <html> |
| 100 | <head> |
| 101 | |
| 102 | |
| 103 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 104 | <meta name="viewport" content="width=device-width" /> |
| 105 | |
| 106 | <link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" /> |
| 107 | <title>Until | Android Developers</title> |
| 108 | |
| 109 | <!-- STYLESHEETS --> |
| 110 | <link rel="stylesheet" |
| 111 | href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> |
| 112 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" |
| 113 | title="roboto"> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 114 | <link href="../../../../../assets/css/default.css?v=5" rel="stylesheet" type="text/css"> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 115 | |
| 116 | |
| 117 | <!-- FULLSCREEN STYLESHEET --> |
| 118 | <link href="../../../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" |
| 119 | type="text/css"> |
| 120 | |
| 121 | |
| 122 | <!-- JAVASCRIPT --> |
| 123 | <script src="http://www.google.com/jsapi" type="text/javascript"></script> |
| 124 | <script src="../../../../../assets/js/android_3p-bundle.js" type="text/javascript"></script> |
| 125 | <script type="text/javascript"> |
| 126 | var toRoot = "../../../../../"; |
| 127 | var metaTags = []; |
| 128 | var devsite = false; |
| 129 | </script> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 130 | <script src="../../../../../assets/js/docs.js?v=3" type="text/javascript"></script> |
| 131 | |
| 132 | |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 133 | |
| 134 | <script> |
| 135 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 136 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 137 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 138 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 139 | |
| 140 | ga('create', 'UA-5831155-1', 'android.com'); |
| 141 | ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); |
| 142 | ga('send', 'pageview'); |
| 143 | ga('universal.send', 'pageview'); // Send page view for new tracker. |
| 144 | </script> |
| 145 | |
| 146 | </head> |
| 147 | |
| 148 | <body class="gc-documentation |
| 149 | develop reference" itemscope itemtype="http://schema.org/Article"> |
| 150 | <div id="doc-api-level" class="" style="display:none"></div> |
| 151 | <a name="top"></a> |
| 152 | |
| 153 | |
| 154 | <a name="top"></a> |
| 155 | |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 156 | <!-- dialog to prompt lang pref change when loaded from hardcoded URL |
| 157 | <div id="langMessage" style="display:none"> |
| 158 | <div> |
| 159 | <div class="lang en"> |
| 160 | <p>You requested a page in English, would you like to proceed with this language setting?</p> |
| 161 | </div> |
| 162 | <div class="lang es"> |
| 163 | <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> |
| 164 | </div> |
| 165 | <div class="lang ja"> |
| 166 | <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> |
| 167 | </div> |
| 168 | <div class="lang ko"> |
| 169 | <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> |
| 170 | </div> |
| 171 | <div class="lang ru"> |
| 172 | <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> |
| 173 | </div> |
| 174 | <div class="lang zh-cn"> |
| 175 | <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> |
| 176 | </div> |
| 177 | <div class="lang zh-tw"> |
| 178 | <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> |
| 179 | </div> |
| 180 | <a href="#" class="button yes" onclick="return false;"> |
| 181 | <span class="lang en">Yes</span> |
| 182 | <span class="lang es">Sí</span> |
| 183 | <span class="lang ja">Yes</span> |
| 184 | <span class="lang ko">Yes</span> |
| 185 | <span class="lang ru">Yes</span> |
| 186 | <span class="lang zh-cn">是的</span> |
| 187 | <span class="lang zh-tw">没有</span> |
| 188 | </a> |
| 189 | <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> |
| 190 | <span class="lang en">No</span> |
| 191 | <span class="lang es">No</span> |
| 192 | <span class="lang ja">No</span> |
| 193 | <span class="lang ko">No</span> |
| 194 | <span class="lang ru">No</span> |
| 195 | <span class="lang zh-cn">没有</span> |
| 196 | <span class="lang zh-tw">没有</span> |
| 197 | </a> |
| 198 | </div> |
| 199 | </div> --> |
| 200 | |
| 201 | |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 202 | <!-- Header --> |
| 203 | <div id="header-wrapper"> |
| 204 | <div id="header"> |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | <div class="wrap" id="header-wrap"> |
| 210 | <div class="col-3 logo"> |
| 211 | <a href="../../../../../index.html"> |
| 212 | <img src="../../../../../assets/images/dac_logo.png" |
| 213 | srcset="../../../../../assets/images/dac_logo@2x.png 2x" |
| 214 | width="123" height="25" alt="Android Developers" /> |
| 215 | </a> |
| 216 | <div class="btn-quicknav" id="btn-quicknav"> |
| 217 | <a href="#" class="arrow-inactive">Quicknav</a> |
| 218 | <a href="#" class="arrow-active">Quicknav</a> |
| 219 | </div> |
| 220 | </div> |
| 221 | <ul class="nav-x col-9"> |
| 222 | <li class="design"> |
| 223 | <a href="../../../../../design/index.html" |
| 224 | zh-tw-lang="設計" |
| 225 | zh-cn-lang="设计" |
| 226 | ru-lang="Проектирование" |
| 227 | ko-lang="디자인" |
| 228 | ja-lang="設計" |
| 229 | es-lang="Diseñar" |
| 230 | >Design</a></li> |
| 231 | <li class="develop"><a href="../../../../../develop/index.html" |
| 232 | zh-tw-lang="開發" |
| 233 | zh-cn-lang="开发" |
| 234 | ru-lang="Разработка" |
| 235 | ko-lang="개발" |
| 236 | ja-lang="開発" |
| 237 | es-lang="Desarrollar" |
| 238 | >Develop</a></li> |
| 239 | <li class="distribute last"><a href="../../../../../distribute/index.html" |
| 240 | zh-tw-lang="發佈" |
| 241 | zh-cn-lang="分发" |
| 242 | ru-lang="Распространение" |
| 243 | ko-lang="배포" |
| 244 | ja-lang="配布" |
| 245 | es-lang="Distribuir" |
| 246 | >Distribute</a></li> |
| 247 | </ul> |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | <div class="menu-container"> |
| 253 | <div class="moremenu"> |
| 254 | <div id="more-btn"></div> |
| 255 | </div> |
| 256 | <div class="morehover" id="moremenu"> |
| 257 | <div class="top"></div> |
| 258 | <div class="mid"> |
| 259 | <div class="header">Links</div> |
| 260 | <ul> |
| 261 | <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> |
| 262 | <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> |
| 263 | <li><a href="../../../../../about/index.html">About Android</a></li> |
| 264 | </ul> |
| 265 | <div class="header">Android Sites</div> |
| 266 | <ul> |
| 267 | <li><a href="http://www.android.com">Android.com</a></li> |
| 268 | <li class="active"><a>Android Developers</a></li> |
| 269 | <li><a href="http://source.android.com">Android Open Source Project</a></li> |
| 270 | </ul> |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | <br class="clearfix" /> |
| 276 | </div><!-- end 'mid' --> |
| 277 | <div class="bottom"></div> |
| 278 | </div><!-- end 'moremenu' --> |
| 279 | |
| 280 | <div class="search" id="search-container"> |
| 281 | <div class="search-inner"> |
| 282 | <div id="search-btn"></div> |
| 283 | <div class="left"></div> |
| 284 | <form onsubmit="return submit_search()"> |
| 285 | <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" |
| 286 | onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" |
| 287 | onkeydown="return search_changed(event, true, '../../../../../')" |
| 288 | onkeyup="return search_changed(event, false, '../../../../../')" /> |
| 289 | </form> |
| 290 | <div class="right"></div> |
| 291 | <a class="close hide">close</a> |
| 292 | <div class="left"></div> |
| 293 | <div class="right"></div> |
| 294 | </div><!-- end search-inner --> |
| 295 | </div><!-- end search-container --> |
| 296 | |
| 297 | <div class="search_filtered_wrapper reference"> |
| 298 | <div class="suggest-card reference no-display"> |
| 299 | <ul class="search_filtered"> |
| 300 | </ul> |
| 301 | </div> |
| 302 | </div> |
| 303 | |
| 304 | <div class="search_filtered_wrapper docs"> |
| 305 | <div class="suggest-card dummy no-display"> </div> |
| 306 | <div class="suggest-card develop no-display"> |
| 307 | <ul class="search_filtered"> |
| 308 | </ul> |
| 309 | <div class="child-card guides no-display"> |
| 310 | </div> |
| 311 | <div class="child-card training no-display"> |
| 312 | </div> |
| 313 | <div class="child-card samples no-display"> |
| 314 | </div> |
| 315 | </div> |
| 316 | <div class="suggest-card design no-display"> |
| 317 | <ul class="search_filtered"> |
| 318 | </ul> |
| 319 | </div> |
| 320 | <div class="suggest-card distribute no-display"> |
| 321 | <ul class="search_filtered"> |
| 322 | </ul> |
| 323 | </div> |
| 324 | </div> |
| 325 | </div><!-- end menu-container (search and menu widget) --> |
| 326 | |
| 327 | |
| 328 | |
| 329 | <!-- Expanded quicknav --> |
| 330 | <div id="quicknav" class="col-13"> |
| 331 | <ul> |
| 332 | <li class="about"> |
| 333 | <ul> |
| 334 | <li><a href="../../../../../about/index.html">About</a></li> |
| 335 | <li><a href="../../../../../wear/index.html">Wear</a></li> |
| 336 | <li><a href="../../../../../tv/index.html">TV</a></li> |
| 337 | <li><a href="../../../../../auto/index.html">Auto</a></li> |
| 338 | </ul> |
| 339 | </li> |
| 340 | <li class="design"> |
| 341 | <ul> |
| 342 | <li><a href="../../../../../design/index.html">Get Started</a></li> |
| 343 | <li><a href="../../../../../design/devices.html">Devices</a></li> |
| 344 | <li><a href="../../../../../design/style/index.html">Style</a></li> |
| 345 | <li><a href="../../../../../design/patterns/index.html">Patterns</a></li> |
| 346 | <li><a href="../../../../../design/building-blocks/index.html">Building Blocks</a></li> |
| 347 | <li><a href="../../../../../design/downloads/index.html">Downloads</a></li> |
| 348 | <li><a href="../../../../../design/videos/index.html">Videos</a></li> |
| 349 | </ul> |
| 350 | </li> |
| 351 | <li class="develop"> |
| 352 | <ul> |
| 353 | <li><a href="../../../../../training/index.html" |
| 354 | zh-tw-lang="訓練課程" |
| 355 | zh-cn-lang="培训" |
| 356 | ru-lang="Курсы" |
| 357 | ko-lang="교육" |
| 358 | ja-lang="トレーニング" |
| 359 | es-lang="Capacitación" |
| 360 | >Training</a></li> |
| 361 | <li><a href="../../../../../guide/index.html" |
| 362 | zh-tw-lang="API 指南" |
| 363 | zh-cn-lang="API 指南" |
| 364 | ru-lang="Руководства по API" |
| 365 | ko-lang="API 가이드" |
| 366 | ja-lang="API ガイド" |
| 367 | es-lang="Guías de la API" |
| 368 | >API Guides</a></li> |
| 369 | <li><a href="../../../../../reference/packages.html" |
| 370 | zh-tw-lang="參考資源" |
| 371 | zh-cn-lang="参考" |
| 372 | ru-lang="Справочник" |
| 373 | ko-lang="참조문서" |
| 374 | ja-lang="リファレンス" |
| 375 | es-lang="Referencia" |
| 376 | >Reference</a></li> |
| 377 | <li><a href="../../../../../sdk/index.html" |
| 378 | zh-tw-lang="相關工具" |
| 379 | zh-cn-lang="工具" |
| 380 | ru-lang="Инструменты" |
| 381 | ko-lang="도구" |
| 382 | ja-lang="ツール" |
| 383 | es-lang="Herramientas" |
| 384 | >Tools</a> |
| 385 | </li> |
| 386 | <li><a href="../../../../../google/index.html">Google Services</a> |
| 387 | </li> |
| 388 | |
| 389 | </ul> |
| 390 | </li> |
| 391 | <li class="distribute last"> |
| 392 | <ul> |
| 393 | <li><a href="../../../../../distribute/googleplay/index.html">Google Play</a></li> |
| 394 | <li><a href="../../../../../distribute/essentials/index.html">Essentials</a></li> |
| 395 | <li><a href="../../../../../distribute/users/index.html">Get Users</a></li> |
| 396 | <li><a href="../../../../../distribute/engage/index.html">Engage & Retain</a></li> |
| 397 | <li><a href="../../../../../distribute/monetize/index.html">Monetize</a></li> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 398 | <li><a href="../../../../../distribute/analyze/index.html">Analyze</a></li> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 399 | <li><a href="../../../../../distribute/tools/index.html">Tools & Reference</a></li> |
| 400 | <li><a href="../../../../../distribute/stories/index.html">Developer Stories</a></li> |
| 401 | </ul> |
| 402 | </li> |
| 403 | </ul> |
| 404 | </div><!-- /Expanded quicknav --> |
| 405 | </div><!-- end header-wrap.wrap --> |
| 406 | </div><!-- end header --> |
| 407 | |
| 408 | |
| 409 | <!-- Secondary x-nav --> |
| 410 | <div id="nav-x"> |
| 411 | <div class="wrap" style="position:relative;z-index:1"> |
| 412 | |
| 413 | |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 414 | |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 415 | |
| 416 | |
| 417 | <ul class="nav-x col-9 develop" style="width:100%"> |
| 418 | <li class="training"><a href="../../../../../training/index.html" |
| 419 | zh-tw-lang="訓練課程" |
| 420 | zh-cn-lang="培训" |
| 421 | ru-lang="Курсы" |
| 422 | ko-lang="교육" |
| 423 | ja-lang="トレーニング" |
| 424 | es-lang="Capacitación" |
| 425 | >Training</a></li> |
| 426 | <li class="guide"><a href="../../../../../guide/index.html" |
| 427 | zh-tw-lang="API 指南" |
| 428 | zh-cn-lang="API 指南" |
| 429 | ru-lang="Руководства по API" |
| 430 | ko-lang="API 가이드" |
| 431 | ja-lang="API ガイド" |
| 432 | es-lang="Guías de la API" |
| 433 | >API Guides</a></li> |
| 434 | <li class="reference"><a href="../../../../../reference/packages.html" |
| 435 | zh-tw-lang="參考資源" |
| 436 | zh-cn-lang="参考" |
| 437 | ru-lang="Справочник" |
| 438 | ko-lang="참조문서" |
| 439 | ja-lang="リファレンス" |
| 440 | es-lang="Referencia" |
| 441 | >Reference</a></li> |
| 442 | <li class="tools"><a href="../../../../../sdk/index.html" |
| 443 | zh-tw-lang="相關工具" |
| 444 | zh-cn-lang="工具" |
| 445 | ru-lang="Инструменты" |
| 446 | ko-lang="도구" |
| 447 | ja-lang="ツール" |
| 448 | es-lang="Herramientas" |
| 449 | >Tools</a></li> |
| 450 | <li class="google"><a href="../../../../../google/index.html" |
| 451 | >Google Services</a> |
| 452 | </li> |
| 453 | |
| 454 | </ul> |
| 455 | </div> |
| 456 | </div> |
| 457 | <!-- /Sendondary x-nav DEVELOP --> |
| 458 | |
| 459 | |
| 460 | |
| 461 | <div id="searchResults" class="wrap" style="display:none;"> |
| 462 | <h2 id="searchTitle">Results</h2> |
| 463 | <div id="leftSearchControl" class="search-control">Loading...</div> |
| 464 | </div> |
| 465 | </div> <!--end header-wrapper --> |
| 466 | |
| 467 | <div id="sticky-header"> |
| 468 | <div> |
| 469 | <a class="logo" href="#top"></a> |
| 470 | <a class="top" href="#top"></a> |
| 471 | <ul class="breadcrumb"> |
| 472 | |
| 473 | <li class="current">Until</li> |
| 474 | </ul> |
| 475 | </div> |
| 476 | </div> |
| 477 | |
| 478 | |
| 479 | |
| 480 | |
| 481 | |
| 482 | <div class="wrap clearfix" id="body-content"> |
| 483 | <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> |
| 484 | <div id="devdoc-nav"> |
| 485 | <div id="api-nav-header"> |
| 486 | <div id="api-level-toggle"> |
| 487 | <label for="apiLevelCheckbox" class="disabled" |
| 488 | title="Select your target API level to dim unavailable APIs">API level: </label> |
| 489 | <div class="select-wrapper"> |
| 490 | <select id="apiLevelSelector"> |
| 491 | <!-- option elements added by buildApiLevelSelector() --> |
| 492 | </select> |
| 493 | </div> |
| 494 | </div><!-- end toggle --> |
| 495 | <div id="api-nav-title">Android APIs</div> |
| 496 | </div><!-- end nav header --> |
| 497 | <script> |
| 498 | var SINCE_DATA = [ ]; |
| 499 | buildApiLevelSelector(); |
| 500 | </script> |
| 501 | |
| 502 | <div id="swapper"> |
| 503 | <div id="nav-panels"> |
| 504 | <div id="resize-packages-nav"> |
| 505 | <div id="packages-nav" class="scroll-pane"> |
| 506 | |
| 507 | <ul> |
| 508 | |
| 509 | <li class="api apilevel-"> |
| 510 | <a href="../../../../../reference/android/support/test/package-summary.html">android.support.test</a></li> |
| 511 | <li class="api apilevel-"> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 512 | <a href="../../../../../reference/android/support/test/annotation/package-summary.html">android.support.test.annotation</a></li> |
| 513 | <li class="api apilevel-"> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 514 | <a href="../../../../../reference/android/support/test/espresso/package-summary.html">android.support.test.espresso</a></li> |
| 515 | <li class="api apilevel-"> |
| 516 | <a href="../../../../../reference/android/support/test/espresso/action/package-summary.html">android.support.test.espresso.action</a></li> |
| 517 | <li class="api apilevel-"> |
| 518 | <a href="../../../../../reference/android/support/test/espresso/assertion/package-summary.html">android.support.test.espresso.assertion</a></li> |
| 519 | <li class="api apilevel-"> |
| 520 | <a href="../../../../../reference/android/support/test/espresso/base/package-summary.html">android.support.test.espresso.base</a></li> |
| 521 | <li class="api apilevel-"> |
| 522 | <a href="../../../../../reference/android/support/test/espresso/contrib/package-summary.html">android.support.test.espresso.contrib</a></li> |
| 523 | <li class="api apilevel-"> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 524 | <a href="../../../../../reference/android/support/test/espresso/intent/package-summary.html">android.support.test.espresso.intent</a></li> |
| 525 | <li class="api apilevel-"> |
| 526 | <a href="../../../../../reference/android/support/test/espresso/intent/matcher/package-summary.html">android.support.test.espresso.intent.matcher</a></li> |
| 527 | <li class="api apilevel-"> |
| 528 | <a href="../../../../../reference/android/support/test/espresso/intent/rule/package-summary.html">android.support.test.espresso.intent.rule</a></li> |
| 529 | <li class="api apilevel-"> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 530 | <a href="../../../../../reference/android/support/test/espresso/matcher/package-summary.html">android.support.test.espresso.matcher</a></li> |
| 531 | <li class="api apilevel-"> |
| 532 | <a href="../../../../../reference/android/support/test/espresso/util/package-summary.html">android.support.test.espresso.util</a></li> |
| 533 | <li class="api apilevel-"> |
| 534 | <a href="../../../../../reference/android/support/test/filters/package-summary.html">android.support.test.filters</a></li> |
| 535 | <li class="api apilevel-"> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 536 | <a href="../../../../../reference/android/support/test/rule/package-summary.html">android.support.test.rule</a></li> |
| 537 | <li class="api apilevel-"> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 538 | <a href="../../../../../reference/android/support/test/runner/package-summary.html">android.support.test.runner</a></li> |
| 539 | <li class="api apilevel-"> |
Quddus Chong | 900831f | 2015-04-17 15:01:16 -0700 | [diff] [blame] | 540 | <a href="../../../../../reference/android/support/test/runner/intent/package-summary.html">android.support.test.runner.intent</a></li> |
| 541 | <li class="api apilevel-"> |
Quddus Chong | 489218c | 2015-02-26 16:38:46 -0800 | [diff] [blame] | 542 | <a href="../../../../../reference/android/support/test/runner/lifecycle/package-summary.html">android.support.test.runner.lifecycle</a></li> |
| 543 | <li class="selected api apilevel-"> |
| 544 | <a href="../../../../../reference/android/support/test/uiautomator/package-summary.html">android.support.test.uiautomator</a></li> |
| 545 | </ul><br/> |
| 546 | |
| 547 | </div> <!-- end packages-nav --> |
| 548 | </div> <!-- end resize-packages --> |
| 549 | <div id="classes-nav" class="scroll-pane"> |
| 550 | |
| 551 | |
| 552 | |
| 553 | <ul> |
| 554 | |
| 555 | |
| 556 | <li><h2>Interfaces</h2> |
| 557 | <ul> |
| 558 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/IAutomationSupport.html">IAutomationSupport</a></li> |
| 559 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiWatcher.html">UiWatcher</a></li> |
| 560 | </ul> |
| 561 | </li> |
| 562 | |
| 563 | <li><h2>Classes</h2> |
| 564 | <ul> |
| 565 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/By.html">By</a></li> |
| 566 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a></li> |
| 567 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/Configurator.html">Configurator</a></li> |
| 568 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a></li> |
| 569 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></li> |
| 570 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiAutomatorInstrumentationTestRunner.html">UiAutomatorInstrumentationTestRunner</a></li> |
| 571 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiAutomatorTestCase.html">UiAutomatorTestCase</a></li> |
| 572 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiCollection.html">UiCollection</a></li> |
| 573 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiDevice.html">UiDevice</a></li> |
| 574 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiObject.html">UiObject</a></li> |
| 575 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></li> |
| 576 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a></li> |
| 577 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiScrollable.html">UiScrollable</a></li> |
| 578 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiSelector.html">UiSelector</a></li> |
| 579 | <li class="selected api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/Until.html">Until</a></li> |
| 580 | </ul> |
| 581 | </li> |
| 582 | |
| 583 | <li><h2>Enums</h2> |
| 584 | <ul> |
| 585 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/Direction.html">Direction</a></li> |
| 586 | </ul> |
| 587 | </li> |
| 588 | |
| 589 | <li><h2>Exceptions</h2> |
| 590 | <ul> |
| 591 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/StaleObjectException.html">StaleObjectException</a></li> |
| 592 | <li class="api apilevel-"><a href="../../../../../reference/android/support/test/uiautomator/UiObjectNotFoundException.html">UiObjectNotFoundException</a></li> |
| 593 | </ul> |
| 594 | </li> |
| 595 | |
| 596 | </ul><br/> |
| 597 | |
| 598 | |
| 599 | </div><!-- end classes --> |
| 600 | </div><!-- end nav-panels --> |
| 601 | <div id="nav-tree" style="display:none" class="scroll-pane"> |
| 602 | <div id="tree-list"></div> |
| 603 | </div><!-- end nav-tree --> |
| 604 | </div><!-- end swapper --> |
| 605 | <div id="nav-swap"> |
| 606 | <a class="fullscreen">fullscreen</a> |
| 607 | <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> |
| 608 | </div> |
| 609 | </div> <!-- end devdoc-nav --> |
| 610 | </div> <!-- end side-nav --> |
| 611 | <script type="text/javascript"> |
| 612 | // init fullscreen based on user pref |
| 613 | var fullscreen = readCookie("fullscreen"); |
| 614 | if (fullscreen != 0) { |
| 615 | if (fullscreen == "false") { |
| 616 | toggleFullscreen(false); |
| 617 | } else { |
| 618 | toggleFullscreen(true); |
| 619 | } |
| 620 | } |
| 621 | // init nav version for mobile |
| 622 | if (isMobile) { |
| 623 | swapNav(); // tree view should be used on mobile |
| 624 | $('#nav-swap').hide(); |
| 625 | } else { |
| 626 | chooseDefaultNav(); |
| 627 | if ($("#nav-tree").is(':visible')) { |
| 628 | init_default_navtree("../../../../../"); |
| 629 | } |
| 630 | } |
| 631 | // scroll the selected page into view |
| 632 | $(document).ready(function() { |
| 633 | scrollIntoView("packages-nav"); |
| 634 | scrollIntoView("classes-nav"); |
| 635 | }); |
| 636 | </script> |
| 637 | |
| 638 | |
| 639 | |
| 640 | |
| 641 | |
| 642 | <div class="col-12" id="doc-col"> |
| 643 | |
| 644 | <div id="api-info-block"> |
| 645 | |
| 646 | |
| 647 | |
| 648 | |
| 649 | |
| 650 | |
| 651 | |
| 652 | |
| 653 | |
| 654 | |
| 655 | |
| 656 | <div class="sum-details-links"> |
| 657 | |
| 658 | Summary: |
| 659 | |
| 660 | |
| 661 | |
| 662 | |
| 663 | |
| 664 | |
| 665 | |
| 666 | |
| 667 | |
| 668 | <a href="#pubctors">Ctors</a> |
| 669 | |
| 670 | |
| 671 | |
| 672 | |
| 673 | | <a href="#pubmethods">Methods</a> |
| 674 | |
| 675 | |
| 676 | |
| 677 | |
| 678 | | <a href="#inhmethods">Inherited Methods</a> |
| 679 | |
| 680 | | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> |
| 681 | |
| 682 | </div><!-- end sum-details-links --> |
| 683 | <div class="api-level"> |
| 684 | |
| 685 | |
| 686 | |
| 687 | |
| 688 | </div> |
| 689 | </div><!-- end api-info-block --> |
| 690 | |
| 691 | |
| 692 | <!-- ======== START OF CLASS DATA ======== --> |
| 693 | |
| 694 | <div id="jd-header"> |
| 695 | public |
| 696 | |
| 697 | |
| 698 | |
| 699 | class |
| 700 | <h1 itemprop="name">Until</h1> |
| 701 | |
| 702 | |
| 703 | |
| 704 | |
| 705 | extends Object<br/> |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | |
| 711 | |
| 712 | |
| 713 | |
| 714 | |
| 715 | |
| 716 | |
| 717 | |
| 718 | </div><!-- end header --> |
| 719 | |
| 720 | <div id="naMessage"></div> |
| 721 | |
| 722 | <div id="jd-content" class="api apilevel-"> |
| 723 | <table class="jd-inheritance-table"> |
| 724 | |
| 725 | |
| 726 | <tr> |
| 727 | |
| 728 | <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> |
| 729 | </tr> |
| 730 | |
| 731 | |
| 732 | <tr> |
| 733 | |
| 734 | <td class="jd-inheritance-space"> ↳</td> |
| 735 | |
| 736 | <td colspan="1" class="jd-inheritance-class-cell">android.support.test.uiautomator.Until</td> |
| 737 | </tr> |
| 738 | |
| 739 | |
| 740 | </table> |
| 741 | |
| 742 | |
| 743 | |
| 744 | |
| 745 | |
| 746 | |
| 747 | |
| 748 | <div class="jd-descr"> |
| 749 | |
| 750 | |
| 751 | <h2>Class Overview</h2> |
| 752 | <p itemprop="articleBody">The <code><a href="../../../../../reference/android/support/test/uiautomator/Until.html">Until</a></code> class provides factory methods for constructing common conditions. |
| 753 | </p> |
| 754 | |
| 755 | |
| 756 | |
| 757 | |
| 758 | |
| 759 | </div><!-- jd-descr --> |
| 760 | |
| 761 | |
| 762 | |
| 763 | |
| 764 | |
| 765 | |
| 766 | |
| 767 | |
| 768 | |
| 769 | |
| 770 | |
| 771 | |
| 772 | |
| 773 | |
| 774 | |
| 775 | |
| 776 | <div class="jd-descr"> |
| 777 | |
| 778 | |
| 779 | <h2>Summary</h2> |
| 780 | |
| 781 | |
| 782 | |
| 783 | |
| 784 | |
| 785 | |
| 786 | |
| 787 | |
| 788 | |
| 789 | |
| 790 | |
| 791 | |
| 792 | |
| 793 | |
| 794 | |
| 795 | |
| 796 | |
| 797 | |
| 798 | |
| 799 | |
| 800 | |
| 801 | |
| 802 | |
| 803 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 804 | <table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr> |
| 805 | |
| 806 | |
| 807 | |
| 808 | |
| 809 | <tr class="alt-color api apilevel-" > |
| 810 | <td class="jd-typecol"><nobr> |
| 811 | |
| 812 | |
| 813 | |
| 814 | |
| 815 | |
| 816 | </nobr> |
| 817 | </td> |
| 818 | <td class="jd-linkcol" width="100%"><nobr> |
| 819 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#Until()">Until</a></span>()</nobr> |
| 820 | |
| 821 | </td></tr> |
| 822 | |
| 823 | |
| 824 | |
| 825 | </table> |
| 826 | |
| 827 | |
| 828 | |
| 829 | |
| 830 | |
| 831 | |
| 832 | <!-- ========== METHOD SUMMARY =========== --> |
| 833 | <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> |
| 834 | |
| 835 | |
| 836 | |
| 837 | |
| 838 | <tr class="alt-color api apilevel-" > |
| 839 | <td class="jd-typecol"><nobr> |
| 840 | |
| 841 | |
| 842 | |
| 843 | static |
| 844 | |
| 845 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 846 | </td> |
| 847 | <td class="jd-linkcol" width="100%"><nobr> |
| 848 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#checkable(boolean)">checkable</a></span>(boolean isCheckable)</nobr> |
| 849 | |
| 850 | <div class="jd-descrdiv"> |
| 851 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s checkable state. |
| 852 | |
| 853 | |
| 854 | |
| 855 | </div> |
| 856 | |
| 857 | </td></tr> |
| 858 | |
| 859 | |
| 860 | |
| 861 | <tr class=" api apilevel-" > |
| 862 | <td class="jd-typecol"><nobr> |
| 863 | |
| 864 | |
| 865 | |
| 866 | static |
| 867 | |
| 868 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 869 | </td> |
| 870 | <td class="jd-linkcol" width="100%"><nobr> |
| 871 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#checked(boolean)">checked</a></span>(boolean isChecked)</nobr> |
| 872 | |
| 873 | <div class="jd-descrdiv"> |
| 874 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s checked state. |
| 875 | |
| 876 | |
| 877 | |
| 878 | </div> |
| 879 | |
| 880 | </td></tr> |
| 881 | |
| 882 | |
| 883 | |
| 884 | <tr class="alt-color api apilevel-" > |
| 885 | <td class="jd-typecol"><nobr> |
| 886 | |
| 887 | |
| 888 | |
| 889 | static |
| 890 | |
| 891 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 892 | </td> |
| 893 | <td class="jd-linkcol" width="100%"><nobr> |
| 894 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#clickable(boolean)">clickable</a></span>(boolean isClickable)</nobr> |
| 895 | |
| 896 | <div class="jd-descrdiv"> |
| 897 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s clickable state. |
| 898 | |
| 899 | |
| 900 | |
| 901 | </div> |
| 902 | |
| 903 | </td></tr> |
| 904 | |
| 905 | |
| 906 | |
| 907 | <tr class=" api apilevel-" > |
| 908 | <td class="jd-typecol"><nobr> |
| 909 | |
| 910 | |
| 911 | |
| 912 | static |
| 913 | |
| 914 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 915 | </td> |
| 916 | <td class="jd-linkcol" width="100%"><nobr> |
| 917 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descContains(java.lang.String)">descContains</a></span>(String substring)</nobr> |
| 918 | |
| 919 | <div class="jd-descrdiv"> |
| 920 | Returns a condition that is satisfied when the object's content description contains the |
| 921 | given string. |
| 922 | |
| 923 | |
| 924 | |
| 925 | </div> |
| 926 | |
| 927 | </td></tr> |
| 928 | |
| 929 | |
| 930 | |
| 931 | <tr class="alt-color api apilevel-" > |
| 932 | <td class="jd-typecol"><nobr> |
| 933 | |
| 934 | |
| 935 | |
| 936 | static |
| 937 | |
| 938 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 939 | </td> |
| 940 | <td class="jd-linkcol" width="100%"><nobr> |
| 941 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descEndsWith(java.lang.String)">descEndsWith</a></span>(String substring)</nobr> |
| 942 | |
| 943 | <div class="jd-descrdiv"> |
| 944 | Returns a condition that is satisfied when the object's content description ends with the |
| 945 | given string. |
| 946 | |
| 947 | |
| 948 | |
| 949 | </div> |
| 950 | |
| 951 | </td></tr> |
| 952 | |
| 953 | |
| 954 | |
| 955 | <tr class=" api apilevel-" > |
| 956 | <td class="jd-typecol"><nobr> |
| 957 | |
| 958 | |
| 959 | |
| 960 | static |
| 961 | |
| 962 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 963 | </td> |
| 964 | <td class="jd-linkcol" width="100%"><nobr> |
| 965 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descEquals(java.lang.String)">descEquals</a></span>(String contentDescription)</nobr> |
| 966 | |
| 967 | <div class="jd-descrdiv"> |
| 968 | Returns a condition that is satisfied when the object's content description exactly matches |
| 969 | the given string. |
| 970 | |
| 971 | |
| 972 | |
| 973 | </div> |
| 974 | |
| 975 | </td></tr> |
| 976 | |
| 977 | |
| 978 | |
| 979 | <tr class="alt-color api apilevel-" > |
| 980 | <td class="jd-typecol"><nobr> |
| 981 | |
| 982 | |
| 983 | |
| 984 | static |
| 985 | |
| 986 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 987 | </td> |
| 988 | <td class="jd-linkcol" width="100%"><nobr> |
| 989 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descMatches(java.util.regex.Pattern)">descMatches</a></span>(Pattern regex)</nobr> |
| 990 | |
| 991 | <div class="jd-descrdiv"> |
| 992 | Returns a condition that is satisfied when the object's content description matches the given |
| 993 | regex. |
| 994 | |
| 995 | |
| 996 | |
| 997 | </div> |
| 998 | |
| 999 | </td></tr> |
| 1000 | |
| 1001 | |
| 1002 | |
| 1003 | <tr class=" api apilevel-" > |
| 1004 | <td class="jd-typecol"><nobr> |
| 1005 | |
| 1006 | |
| 1007 | |
| 1008 | static |
| 1009 | |
| 1010 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1011 | </td> |
| 1012 | <td class="jd-linkcol" width="100%"><nobr> |
| 1013 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descMatches(java.lang.String)">descMatches</a></span>(String regex)</nobr> |
| 1014 | |
| 1015 | <div class="jd-descrdiv"> |
| 1016 | Returns a condition that is satisfied when the object's content description matches the given |
| 1017 | regex. |
| 1018 | |
| 1019 | |
| 1020 | |
| 1021 | </div> |
| 1022 | |
| 1023 | </td></tr> |
| 1024 | |
| 1025 | |
| 1026 | |
| 1027 | <tr class="alt-color api apilevel-" > |
| 1028 | <td class="jd-typecol"><nobr> |
| 1029 | |
| 1030 | |
| 1031 | |
| 1032 | static |
| 1033 | |
| 1034 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1035 | </td> |
| 1036 | <td class="jd-linkcol" width="100%"><nobr> |
| 1037 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#descStartsWith(java.lang.String)">descStartsWith</a></span>(String substring)</nobr> |
| 1038 | |
| 1039 | <div class="jd-descrdiv"> |
| 1040 | Returns a condition that is satisfied when the object's content description starts with the |
| 1041 | given string. |
| 1042 | |
| 1043 | |
| 1044 | |
| 1045 | </div> |
| 1046 | |
| 1047 | </td></tr> |
| 1048 | |
| 1049 | |
| 1050 | |
| 1051 | <tr class=" api apilevel-" > |
| 1052 | <td class="jd-typecol"><nobr> |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | static |
| 1057 | |
| 1058 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1059 | </td> |
| 1060 | <td class="jd-linkcol" width="100%"><nobr> |
| 1061 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#enabled(boolean)">enabled</a></span>(boolean isEnabled)</nobr> |
| 1062 | |
| 1063 | <div class="jd-descrdiv"> |
| 1064 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s enabled state. |
| 1065 | |
| 1066 | |
| 1067 | |
| 1068 | </div> |
| 1069 | |
| 1070 | </td></tr> |
| 1071 | |
| 1072 | |
| 1073 | |
| 1074 | <tr class="alt-color api apilevel-" > |
| 1075 | <td class="jd-typecol"><nobr> |
| 1076 | |
| 1077 | |
| 1078 | |
| 1079 | static |
| 1080 | |
| 1081 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><<a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a>></nobr> |
| 1082 | </td> |
| 1083 | <td class="jd-linkcol" width="100%"><nobr> |
| 1084 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#findObject(android.support.test.uiautomator.BySelector)">findObject</a></span>(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</nobr> |
| 1085 | |
| 1086 | <div class="jd-descrdiv"> |
| 1087 | Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 1088 | selector can be found. |
| 1089 | |
| 1090 | |
| 1091 | |
| 1092 | </div> |
| 1093 | |
| 1094 | </td></tr> |
| 1095 | |
| 1096 | |
| 1097 | |
| 1098 | <tr class=" api apilevel-" > |
| 1099 | <td class="jd-typecol"><nobr> |
| 1100 | |
| 1101 | |
| 1102 | |
| 1103 | static |
| 1104 | |
| 1105 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><List<<a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a>>></nobr> |
| 1106 | </td> |
| 1107 | <td class="jd-linkcol" width="100%"><nobr> |
| 1108 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#findObjects(android.support.test.uiautomator.BySelector)">findObjects</a></span>(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</nobr> |
| 1109 | |
| 1110 | <div class="jd-descrdiv"> |
| 1111 | Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 1112 | selector can be found. |
| 1113 | |
| 1114 | |
| 1115 | |
| 1116 | </div> |
| 1117 | |
| 1118 | </td></tr> |
| 1119 | |
| 1120 | |
| 1121 | |
| 1122 | <tr class="alt-color api apilevel-" > |
| 1123 | <td class="jd-typecol"><nobr> |
| 1124 | |
| 1125 | |
| 1126 | |
| 1127 | static |
| 1128 | |
| 1129 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1130 | </td> |
| 1131 | <td class="jd-linkcol" width="100%"><nobr> |
| 1132 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#focusable(boolean)">focusable</a></span>(boolean isFocusable)</nobr> |
| 1133 | |
| 1134 | <div class="jd-descrdiv"> |
| 1135 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s focusable state. |
| 1136 | |
| 1137 | |
| 1138 | |
| 1139 | </div> |
| 1140 | |
| 1141 | </td></tr> |
| 1142 | |
| 1143 | |
| 1144 | |
| 1145 | <tr class=" api apilevel-" > |
| 1146 | <td class="jd-typecol"><nobr> |
| 1147 | |
| 1148 | |
| 1149 | |
| 1150 | static |
| 1151 | |
| 1152 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1153 | </td> |
| 1154 | <td class="jd-linkcol" width="100%"><nobr> |
| 1155 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#focused(boolean)">focused</a></span>(boolean isFocused)</nobr> |
| 1156 | |
| 1157 | <div class="jd-descrdiv"> |
| 1158 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s focused state. |
| 1159 | |
| 1160 | |
| 1161 | |
| 1162 | </div> |
| 1163 | |
| 1164 | </td></tr> |
| 1165 | |
| 1166 | |
| 1167 | |
| 1168 | <tr class="alt-color api apilevel-" > |
| 1169 | <td class="jd-typecol"><nobr> |
| 1170 | |
| 1171 | |
| 1172 | |
| 1173 | static |
| 1174 | |
| 1175 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><Boolean></nobr> |
| 1176 | </td> |
| 1177 | <td class="jd-linkcol" width="100%"><nobr> |
| 1178 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#gone(android.support.test.uiautomator.BySelector)">gone</a></span>(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</nobr> |
| 1179 | |
| 1180 | <div class="jd-descrdiv"> |
| 1181 | Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when no elements matching the selector |
| 1182 | can be found. |
| 1183 | |
| 1184 | |
| 1185 | |
| 1186 | </div> |
| 1187 | |
| 1188 | </td></tr> |
| 1189 | |
| 1190 | |
| 1191 | |
| 1192 | <tr class=" api apilevel-" > |
| 1193 | <td class="jd-typecol"><nobr> |
| 1194 | |
| 1195 | |
| 1196 | |
| 1197 | static |
| 1198 | |
| 1199 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><Boolean></nobr> |
| 1200 | </td> |
| 1201 | <td class="jd-linkcol" width="100%"><nobr> |
| 1202 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#hasObject(android.support.test.uiautomator.BySelector)">hasObject</a></span>(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</nobr> |
| 1203 | |
| 1204 | <div class="jd-descrdiv"> |
| 1205 | Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 1206 | selector can be found. |
| 1207 | |
| 1208 | |
| 1209 | |
| 1210 | </div> |
| 1211 | |
| 1212 | </td></tr> |
| 1213 | |
| 1214 | |
| 1215 | |
| 1216 | <tr class="alt-color api apilevel-" > |
| 1217 | <td class="jd-typecol"><nobr> |
| 1218 | |
| 1219 | |
| 1220 | |
| 1221 | static |
| 1222 | |
| 1223 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1224 | </td> |
| 1225 | <td class="jd-linkcol" width="100%"><nobr> |
| 1226 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#longClickable(boolean)">longClickable</a></span>(boolean isLongClickable)</nobr> |
| 1227 | |
| 1228 | <div class="jd-descrdiv"> |
| 1229 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s long clickable state. |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | </div> |
| 1234 | |
| 1235 | </td></tr> |
| 1236 | |
| 1237 | |
| 1238 | |
| 1239 | <tr class=" api apilevel-" > |
| 1240 | <td class="jd-typecol"><nobr> |
| 1241 | |
| 1242 | |
| 1243 | |
| 1244 | static |
| 1245 | |
| 1246 | <a href="../../../../../reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a><Boolean></nobr> |
| 1247 | </td> |
| 1248 | <td class="jd-linkcol" width="100%"><nobr> |
| 1249 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#newWindow()">newWindow</a></span>()</nobr> |
| 1250 | |
| 1251 | <div class="jd-descrdiv"> |
| 1252 | Returns a condition that depends on a new window having appeared. |
| 1253 | |
| 1254 | |
| 1255 | |
| 1256 | </div> |
| 1257 | |
| 1258 | </td></tr> |
| 1259 | |
| 1260 | |
| 1261 | |
| 1262 | <tr class="alt-color api apilevel-" > |
| 1263 | <td class="jd-typecol"><nobr> |
| 1264 | |
| 1265 | |
| 1266 | |
| 1267 | static |
| 1268 | |
| 1269 | <a href="../../../../../reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a><Boolean></nobr> |
| 1270 | </td> |
| 1271 | <td class="jd-linkcol" width="100%"><nobr> |
| 1272 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#scrollFinished(android.support.test.uiautomator.Direction)">scrollFinished</a></span>(<a href="../../../../../reference/android/support/test/uiautomator/Direction.html">Direction</a> direction)</nobr> |
| 1273 | |
| 1274 | <div class="jd-descrdiv"> |
| 1275 | Returns a condition that depends on a scroll having reached the end in the given |
| 1276 | <code>direction</code>. |
| 1277 | |
| 1278 | |
| 1279 | |
| 1280 | </div> |
| 1281 | |
| 1282 | </td></tr> |
| 1283 | |
| 1284 | |
| 1285 | |
| 1286 | <tr class=" api apilevel-" > |
| 1287 | <td class="jd-typecol"><nobr> |
| 1288 | |
| 1289 | |
| 1290 | |
| 1291 | static |
| 1292 | |
| 1293 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1294 | </td> |
| 1295 | <td class="jd-linkcol" width="100%"><nobr> |
| 1296 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#scrollable(boolean)">scrollable</a></span>(boolean isScrollable)</nobr> |
| 1297 | |
| 1298 | <div class="jd-descrdiv"> |
| 1299 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s scrollable state. |
| 1300 | |
| 1301 | |
| 1302 | |
| 1303 | </div> |
| 1304 | |
| 1305 | </td></tr> |
| 1306 | |
| 1307 | |
| 1308 | |
| 1309 | <tr class="alt-color api apilevel-" > |
| 1310 | <td class="jd-typecol"><nobr> |
| 1311 | |
| 1312 | |
| 1313 | |
| 1314 | static |
| 1315 | |
| 1316 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1317 | </td> |
| 1318 | <td class="jd-linkcol" width="100%"><nobr> |
| 1319 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#selected(boolean)">selected</a></span>(boolean isSelected)</nobr> |
| 1320 | |
| 1321 | <div class="jd-descrdiv"> |
| 1322 | Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s selected state. |
| 1323 | |
| 1324 | |
| 1325 | |
| 1326 | </div> |
| 1327 | |
| 1328 | </td></tr> |
| 1329 | |
| 1330 | |
| 1331 | |
| 1332 | <tr class=" api apilevel-" > |
| 1333 | <td class="jd-typecol"><nobr> |
| 1334 | |
| 1335 | |
| 1336 | |
| 1337 | static |
| 1338 | |
| 1339 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1340 | </td> |
| 1341 | <td class="jd-linkcol" width="100%"><nobr> |
| 1342 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textContains(java.lang.String)">textContains</a></span>(String substring)</nobr> |
| 1343 | |
| 1344 | <div class="jd-descrdiv"> |
| 1345 | Returns a condition that is satisfied when the object's text value contains the given string. |
| 1346 | |
| 1347 | |
| 1348 | |
| 1349 | </div> |
| 1350 | |
| 1351 | </td></tr> |
| 1352 | |
| 1353 | |
| 1354 | |
| 1355 | <tr class="alt-color api apilevel-" > |
| 1356 | <td class="jd-typecol"><nobr> |
| 1357 | |
| 1358 | |
| 1359 | |
| 1360 | static |
| 1361 | |
| 1362 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1363 | </td> |
| 1364 | <td class="jd-linkcol" width="100%"><nobr> |
| 1365 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textEndsWith(java.lang.String)">textEndsWith</a></span>(String substring)</nobr> |
| 1366 | |
| 1367 | <div class="jd-descrdiv"> |
| 1368 | Returns a condition that is satisfied when the object's text value ends with the given |
| 1369 | string. |
| 1370 | |
| 1371 | |
| 1372 | |
| 1373 | </div> |
| 1374 | |
| 1375 | </td></tr> |
| 1376 | |
| 1377 | |
| 1378 | |
| 1379 | <tr class=" api apilevel-" > |
| 1380 | <td class="jd-typecol"><nobr> |
| 1381 | |
| 1382 | |
| 1383 | |
| 1384 | static |
| 1385 | |
| 1386 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1387 | </td> |
| 1388 | <td class="jd-linkcol" width="100%"><nobr> |
| 1389 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textEquals(java.lang.String)">textEquals</a></span>(String text)</nobr> |
| 1390 | |
| 1391 | <div class="jd-descrdiv"> |
| 1392 | Returns a condition that is satisfied when the object's text value exactly matches the given |
| 1393 | string. |
| 1394 | |
| 1395 | |
| 1396 | |
| 1397 | </div> |
| 1398 | |
| 1399 | </td></tr> |
| 1400 | |
| 1401 | |
| 1402 | |
| 1403 | <tr class="alt-color api apilevel-" > |
| 1404 | <td class="jd-typecol"><nobr> |
| 1405 | |
| 1406 | |
| 1407 | |
| 1408 | static |
| 1409 | |
| 1410 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1411 | </td> |
| 1412 | <td class="jd-linkcol" width="100%"><nobr> |
| 1413 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textMatches(java.lang.String)">textMatches</a></span>(String regex)</nobr> |
| 1414 | |
| 1415 | <div class="jd-descrdiv"> |
| 1416 | Returns a condition that is satisfied when the object's text value matches the given regex. |
| 1417 | |
| 1418 | |
| 1419 | |
| 1420 | </div> |
| 1421 | |
| 1422 | </td></tr> |
| 1423 | |
| 1424 | |
| 1425 | |
| 1426 | <tr class=" api apilevel-" > |
| 1427 | <td class="jd-typecol"><nobr> |
| 1428 | |
| 1429 | |
| 1430 | |
| 1431 | static |
| 1432 | |
| 1433 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1434 | </td> |
| 1435 | <td class="jd-linkcol" width="100%"><nobr> |
| 1436 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textMatches(java.util.regex.Pattern)">textMatches</a></span>(Pattern regex)</nobr> |
| 1437 | |
| 1438 | <div class="jd-descrdiv"> |
| 1439 | Returns a condition that is satisfied when the object's text value matches the given regex. |
| 1440 | |
| 1441 | |
| 1442 | |
| 1443 | </div> |
| 1444 | |
| 1445 | </td></tr> |
| 1446 | |
| 1447 | |
| 1448 | |
| 1449 | <tr class="alt-color api apilevel-" > |
| 1450 | <td class="jd-typecol"><nobr> |
| 1451 | |
| 1452 | |
| 1453 | |
| 1454 | static |
| 1455 | |
| 1456 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1457 | </td> |
| 1458 | <td class="jd-linkcol" width="100%"><nobr> |
| 1459 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textNotEquals(java.lang.String)">textNotEquals</a></span>(String text)</nobr> |
| 1460 | |
| 1461 | </td></tr> |
| 1462 | |
| 1463 | |
| 1464 | |
| 1465 | <tr class=" api apilevel-" > |
| 1466 | <td class="jd-typecol"><nobr> |
| 1467 | |
| 1468 | |
| 1469 | |
| 1470 | static |
| 1471 | |
| 1472 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean></nobr> |
| 1473 | </td> |
| 1474 | <td class="jd-linkcol" width="100%"><nobr> |
| 1475 | <span class="sympad"><a href="../../../../../reference/android/support/test/uiautomator/Until.html#textStartsWith(java.lang.String)">textStartsWith</a></span>(String substring)</nobr> |
| 1476 | |
| 1477 | <div class="jd-descrdiv"> |
| 1478 | Returns a condition that is satisfied when the object's text value starts with the given |
| 1479 | string. |
| 1480 | |
| 1481 | |
| 1482 | |
| 1483 | </div> |
| 1484 | |
| 1485 | </td></tr> |
| 1486 | |
| 1487 | |
| 1488 | |
| 1489 | </table> |
| 1490 | |
| 1491 | |
| 1492 | |
| 1493 | |
| 1494 | |
| 1495 | |
| 1496 | |
| 1497 | <!-- ========== METHOD SUMMARY =========== --> |
| 1498 | <table id="inhmethods" class="jd-sumtable"><tr><th> |
| 1499 | <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| 1500 | <div style="clear:left;">Inherited Methods</div></th></tr> |
| 1501 | |
| 1502 | |
| 1503 | <tr class="api apilevel-" > |
| 1504 | <td colspan="12"> |
| 1505 | <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" |
| 1506 | ><img id="inherited-methods-java.lang.Object-trigger" |
| 1507 | src="../../../../../assets/images/triangle-closed.png" |
| 1508 | class="jd-expando-trigger-img" /></a> |
| 1509 | From class |
| 1510 | |
| 1511 | java.lang.Object |
| 1512 | |
| 1513 | <div id="inherited-methods-java.lang.Object"> |
| 1514 | <div id="inherited-methods-java.lang.Object-list" |
| 1515 | class="jd-inheritedlinks"> |
| 1516 | </div> |
| 1517 | <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> |
| 1518 | <table class="jd-sumtable-expando"> |
| 1519 | |
| 1520 | |
| 1521 | |
| 1522 | |
| 1523 | <tr class="alt-color api apilevel-" > |
| 1524 | <td class="jd-typecol"><nobr> |
| 1525 | |
| 1526 | |
| 1527 | |
| 1528 | |
| 1529 | |
| 1530 | Object</nobr> |
| 1531 | </td> |
| 1532 | <td class="jd-linkcol" width="100%"><nobr> |
| 1533 | <span class="sympad">clone</span>()</nobr> |
| 1534 | |
| 1535 | </td></tr> |
| 1536 | |
| 1537 | |
| 1538 | |
| 1539 | <tr class=" api apilevel-" > |
| 1540 | <td class="jd-typecol"><nobr> |
| 1541 | |
| 1542 | |
| 1543 | |
| 1544 | |
| 1545 | |
| 1546 | boolean</nobr> |
| 1547 | </td> |
| 1548 | <td class="jd-linkcol" width="100%"><nobr> |
| 1549 | <span class="sympad">equals</span>(Object arg0)</nobr> |
| 1550 | |
| 1551 | </td></tr> |
| 1552 | |
| 1553 | |
| 1554 | |
| 1555 | <tr class="alt-color api apilevel-" > |
| 1556 | <td class="jd-typecol"><nobr> |
| 1557 | |
| 1558 | |
| 1559 | |
| 1560 | |
| 1561 | |
| 1562 | void</nobr> |
| 1563 | </td> |
| 1564 | <td class="jd-linkcol" width="100%"><nobr> |
| 1565 | <span class="sympad">finalize</span>()</nobr> |
| 1566 | |
| 1567 | </td></tr> |
| 1568 | |
| 1569 | |
| 1570 | |
| 1571 | <tr class=" api apilevel-" > |
| 1572 | <td class="jd-typecol"><nobr> |
| 1573 | |
| 1574 | |
| 1575 | final |
| 1576 | |
| 1577 | |
| 1578 | Class<?></nobr> |
| 1579 | </td> |
| 1580 | <td class="jd-linkcol" width="100%"><nobr> |
| 1581 | <span class="sympad">getClass</span>()</nobr> |
| 1582 | |
| 1583 | </td></tr> |
| 1584 | |
| 1585 | |
| 1586 | |
| 1587 | <tr class="alt-color api apilevel-" > |
| 1588 | <td class="jd-typecol"><nobr> |
| 1589 | |
| 1590 | |
| 1591 | |
| 1592 | |
| 1593 | |
| 1594 | int</nobr> |
| 1595 | </td> |
| 1596 | <td class="jd-linkcol" width="100%"><nobr> |
| 1597 | <span class="sympad">hashCode</span>()</nobr> |
| 1598 | |
| 1599 | </td></tr> |
| 1600 | |
| 1601 | |
| 1602 | |
| 1603 | <tr class=" api apilevel-" > |
| 1604 | <td class="jd-typecol"><nobr> |
| 1605 | |
| 1606 | |
| 1607 | final |
| 1608 | |
| 1609 | |
| 1610 | void</nobr> |
| 1611 | </td> |
| 1612 | <td class="jd-linkcol" width="100%"><nobr> |
| 1613 | <span class="sympad">notify</span>()</nobr> |
| 1614 | |
| 1615 | </td></tr> |
| 1616 | |
| 1617 | |
| 1618 | |
| 1619 | <tr class="alt-color api apilevel-" > |
| 1620 | <td class="jd-typecol"><nobr> |
| 1621 | |
| 1622 | |
| 1623 | final |
| 1624 | |
| 1625 | |
| 1626 | void</nobr> |
| 1627 | </td> |
| 1628 | <td class="jd-linkcol" width="100%"><nobr> |
| 1629 | <span class="sympad">notifyAll</span>()</nobr> |
| 1630 | |
| 1631 | </td></tr> |
| 1632 | |
| 1633 | |
| 1634 | |
| 1635 | <tr class=" api apilevel-" > |
| 1636 | <td class="jd-typecol"><nobr> |
| 1637 | |
| 1638 | |
| 1639 | |
| 1640 | |
| 1641 | |
| 1642 | String</nobr> |
| 1643 | </td> |
| 1644 | <td class="jd-linkcol" width="100%"><nobr> |
| 1645 | <span class="sympad">toString</span>()</nobr> |
| 1646 | |
| 1647 | </td></tr> |
| 1648 | |
| 1649 | |
| 1650 | |
| 1651 | <tr class="alt-color api apilevel-" > |
| 1652 | <td class="jd-typecol"><nobr> |
| 1653 | |
| 1654 | |
| 1655 | final |
| 1656 | |
| 1657 | |
| 1658 | void</nobr> |
| 1659 | </td> |
| 1660 | <td class="jd-linkcol" width="100%"><nobr> |
| 1661 | <span class="sympad">wait</span>()</nobr> |
| 1662 | |
| 1663 | </td></tr> |
| 1664 | |
| 1665 | |
| 1666 | |
| 1667 | <tr class=" api apilevel-" > |
| 1668 | <td class="jd-typecol"><nobr> |
| 1669 | |
| 1670 | |
| 1671 | final |
| 1672 | |
| 1673 | |
| 1674 | void</nobr> |
| 1675 | </td> |
| 1676 | <td class="jd-linkcol" width="100%"><nobr> |
| 1677 | <span class="sympad">wait</span>(long arg0, int arg1)</nobr> |
| 1678 | |
| 1679 | </td></tr> |
| 1680 | |
| 1681 | |
| 1682 | |
| 1683 | <tr class="alt-color api apilevel-" > |
| 1684 | <td class="jd-typecol"><nobr> |
| 1685 | |
| 1686 | |
| 1687 | final |
| 1688 | |
| 1689 | |
| 1690 | void</nobr> |
| 1691 | </td> |
| 1692 | <td class="jd-linkcol" width="100%"><nobr> |
| 1693 | <span class="sympad">wait</span>(long arg0)</nobr> |
| 1694 | |
| 1695 | </td></tr> |
| 1696 | |
| 1697 | |
| 1698 | </table> |
| 1699 | </div> |
| 1700 | </div> |
| 1701 | </td></tr> |
| 1702 | |
| 1703 | |
| 1704 | </table> |
| 1705 | |
| 1706 | |
| 1707 | </div><!-- jd-descr (summary) --> |
| 1708 | |
| 1709 | <!-- Details --> |
| 1710 | |
| 1711 | |
| 1712 | |
| 1713 | |
| 1714 | |
| 1715 | |
| 1716 | |
| 1717 | |
| 1718 | <!-- XML Attributes --> |
| 1719 | |
| 1720 | |
| 1721 | <!-- Enum Values --> |
| 1722 | |
| 1723 | |
| 1724 | <!-- Constants --> |
| 1725 | |
| 1726 | |
| 1727 | <!-- Fields --> |
| 1728 | |
| 1729 | |
| 1730 | <!-- Public ctors --> |
| 1731 | |
| 1732 | |
| 1733 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 1734 | <h2>Public Constructors</h2> |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | <A NAME="Until()"></A> |
| 1739 | |
| 1740 | <div class="jd-details api apilevel-"> |
| 1741 | <h4 class="jd-details-title"> |
| 1742 | <span class="normal"> |
| 1743 | public |
| 1744 | |
| 1745 | |
| 1746 | |
| 1747 | |
| 1748 | |
| 1749 | </span> |
| 1750 | <span class="sympad">Until</span> |
| 1751 | <span class="normal">()</span> |
| 1752 | </h4> |
| 1753 | <div class="api-level"> |
| 1754 | <div></div> |
| 1755 | |
| 1756 | |
| 1757 | |
| 1758 | </div> |
| 1759 | <div class="jd-details-descr"> |
| 1760 | |
| 1761 | |
| 1762 | |
| 1763 | |
| 1764 | <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| 1765 | |
| 1766 | </div> |
| 1767 | </div> |
| 1768 | |
| 1769 | |
| 1770 | |
| 1771 | |
| 1772 | |
| 1773 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 1774 | <!-- Protected ctors --> |
| 1775 | |
| 1776 | |
| 1777 | |
| 1778 | <!-- ========= METHOD DETAIL ======== --> |
| 1779 | <!-- Public methdos --> |
| 1780 | |
| 1781 | <h2>Public Methods</h2> |
| 1782 | |
| 1783 | |
| 1784 | |
| 1785 | <A NAME="checkable(boolean)"></A> |
| 1786 | |
| 1787 | <div class="jd-details api apilevel-"> |
| 1788 | <h4 class="jd-details-title"> |
| 1789 | <span class="normal"> |
| 1790 | public |
| 1791 | static |
| 1792 | |
| 1793 | |
| 1794 | |
| 1795 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1796 | </span> |
| 1797 | <span class="sympad">checkable</span> |
| 1798 | <span class="normal">(boolean isCheckable)</span> |
| 1799 | </h4> |
| 1800 | <div class="api-level"> |
| 1801 | <div></div> |
| 1802 | |
| 1803 | |
| 1804 | |
| 1805 | </div> |
| 1806 | <div class="jd-details-descr"> |
| 1807 | |
| 1808 | |
| 1809 | |
| 1810 | |
| 1811 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s checkable state.</p></div> |
| 1812 | <div class="jd-tagdata"> |
| 1813 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1814 | <table class="jd-tagtable"> |
| 1815 | <tr> |
| 1816 | <th>isCheckable</td> |
| 1817 | <td>Whether the object should be checkable to satisfy this condition. |
| 1818 | </td> |
| 1819 | </tr> |
| 1820 | </table> |
| 1821 | </div> |
| 1822 | |
| 1823 | </div> |
| 1824 | </div> |
| 1825 | |
| 1826 | |
| 1827 | <A NAME="checked(boolean)"></A> |
| 1828 | |
| 1829 | <div class="jd-details api apilevel-"> |
| 1830 | <h4 class="jd-details-title"> |
| 1831 | <span class="normal"> |
| 1832 | public |
| 1833 | static |
| 1834 | |
| 1835 | |
| 1836 | |
| 1837 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1838 | </span> |
| 1839 | <span class="sympad">checked</span> |
| 1840 | <span class="normal">(boolean isChecked)</span> |
| 1841 | </h4> |
| 1842 | <div class="api-level"> |
| 1843 | <div></div> |
| 1844 | |
| 1845 | |
| 1846 | |
| 1847 | </div> |
| 1848 | <div class="jd-details-descr"> |
| 1849 | |
| 1850 | |
| 1851 | |
| 1852 | |
| 1853 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s checked state.</p></div> |
| 1854 | <div class="jd-tagdata"> |
| 1855 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1856 | <table class="jd-tagtable"> |
| 1857 | <tr> |
| 1858 | <th>isChecked</td> |
| 1859 | <td>Whether the object should be checked to satisfy this condition. |
| 1860 | </td> |
| 1861 | </tr> |
| 1862 | </table> |
| 1863 | </div> |
| 1864 | |
| 1865 | </div> |
| 1866 | </div> |
| 1867 | |
| 1868 | |
| 1869 | <A NAME="clickable(boolean)"></A> |
| 1870 | |
| 1871 | <div class="jd-details api apilevel-"> |
| 1872 | <h4 class="jd-details-title"> |
| 1873 | <span class="normal"> |
| 1874 | public |
| 1875 | static |
| 1876 | |
| 1877 | |
| 1878 | |
| 1879 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1880 | </span> |
| 1881 | <span class="sympad">clickable</span> |
| 1882 | <span class="normal">(boolean isClickable)</span> |
| 1883 | </h4> |
| 1884 | <div class="api-level"> |
| 1885 | <div></div> |
| 1886 | |
| 1887 | |
| 1888 | |
| 1889 | </div> |
| 1890 | <div class="jd-details-descr"> |
| 1891 | |
| 1892 | |
| 1893 | |
| 1894 | |
| 1895 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s clickable state.</p></div> |
| 1896 | <div class="jd-tagdata"> |
| 1897 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1898 | <table class="jd-tagtable"> |
| 1899 | <tr> |
| 1900 | <th>isClickable</td> |
| 1901 | <td>Whether the object should be clickable to satisfy this condition. |
| 1902 | </td> |
| 1903 | </tr> |
| 1904 | </table> |
| 1905 | </div> |
| 1906 | |
| 1907 | </div> |
| 1908 | </div> |
| 1909 | |
| 1910 | |
| 1911 | <A NAME="descContains(java.lang.String)"></A> |
| 1912 | |
| 1913 | <div class="jd-details api apilevel-"> |
| 1914 | <h4 class="jd-details-title"> |
| 1915 | <span class="normal"> |
| 1916 | public |
| 1917 | static |
| 1918 | |
| 1919 | |
| 1920 | |
| 1921 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1922 | </span> |
| 1923 | <span class="sympad">descContains</span> |
| 1924 | <span class="normal">(String substring)</span> |
| 1925 | </h4> |
| 1926 | <div class="api-level"> |
| 1927 | <div></div> |
| 1928 | |
| 1929 | |
| 1930 | |
| 1931 | </div> |
| 1932 | <div class="jd-details-descr"> |
| 1933 | |
| 1934 | |
| 1935 | |
| 1936 | |
| 1937 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description contains the |
| 1938 | given string. |
| 1939 | </p></div> |
| 1940 | |
| 1941 | </div> |
| 1942 | </div> |
| 1943 | |
| 1944 | |
| 1945 | <A NAME="descEndsWith(java.lang.String)"></A> |
| 1946 | |
| 1947 | <div class="jd-details api apilevel-"> |
| 1948 | <h4 class="jd-details-title"> |
| 1949 | <span class="normal"> |
| 1950 | public |
| 1951 | static |
| 1952 | |
| 1953 | |
| 1954 | |
| 1955 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1956 | </span> |
| 1957 | <span class="sympad">descEndsWith</span> |
| 1958 | <span class="normal">(String substring)</span> |
| 1959 | </h4> |
| 1960 | <div class="api-level"> |
| 1961 | <div></div> |
| 1962 | |
| 1963 | |
| 1964 | |
| 1965 | </div> |
| 1966 | <div class="jd-details-descr"> |
| 1967 | |
| 1968 | |
| 1969 | |
| 1970 | |
| 1971 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description ends with the |
| 1972 | given string. |
| 1973 | </p></div> |
| 1974 | |
| 1975 | </div> |
| 1976 | </div> |
| 1977 | |
| 1978 | |
| 1979 | <A NAME="descEquals(java.lang.String)"></A> |
| 1980 | |
| 1981 | <div class="jd-details api apilevel-"> |
| 1982 | <h4 class="jd-details-title"> |
| 1983 | <span class="normal"> |
| 1984 | public |
| 1985 | static |
| 1986 | |
| 1987 | |
| 1988 | |
| 1989 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 1990 | </span> |
| 1991 | <span class="sympad">descEquals</span> |
| 1992 | <span class="normal">(String contentDescription)</span> |
| 1993 | </h4> |
| 1994 | <div class="api-level"> |
| 1995 | <div></div> |
| 1996 | |
| 1997 | |
| 1998 | |
| 1999 | </div> |
| 2000 | <div class="jd-details-descr"> |
| 2001 | |
| 2002 | |
| 2003 | |
| 2004 | |
| 2005 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description exactly matches |
| 2006 | the given string. |
| 2007 | </p></div> |
| 2008 | |
| 2009 | </div> |
| 2010 | </div> |
| 2011 | |
| 2012 | |
| 2013 | <A NAME="descMatches(java.util.regex.Pattern)"></A> |
| 2014 | |
| 2015 | <div class="jd-details api apilevel-"> |
| 2016 | <h4 class="jd-details-title"> |
| 2017 | <span class="normal"> |
| 2018 | public |
| 2019 | static |
| 2020 | |
| 2021 | |
| 2022 | |
| 2023 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2024 | </span> |
| 2025 | <span class="sympad">descMatches</span> |
| 2026 | <span class="normal">(Pattern regex)</span> |
| 2027 | </h4> |
| 2028 | <div class="api-level"> |
| 2029 | <div></div> |
| 2030 | |
| 2031 | |
| 2032 | |
| 2033 | </div> |
| 2034 | <div class="jd-details-descr"> |
| 2035 | |
| 2036 | |
| 2037 | |
| 2038 | |
| 2039 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description matches the given |
| 2040 | regex. |
| 2041 | </p></div> |
| 2042 | |
| 2043 | </div> |
| 2044 | </div> |
| 2045 | |
| 2046 | |
| 2047 | <A NAME="descMatches(java.lang.String)"></A> |
| 2048 | |
| 2049 | <div class="jd-details api apilevel-"> |
| 2050 | <h4 class="jd-details-title"> |
| 2051 | <span class="normal"> |
| 2052 | public |
| 2053 | static |
| 2054 | |
| 2055 | |
| 2056 | |
| 2057 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2058 | </span> |
| 2059 | <span class="sympad">descMatches</span> |
| 2060 | <span class="normal">(String regex)</span> |
| 2061 | </h4> |
| 2062 | <div class="api-level"> |
| 2063 | <div></div> |
| 2064 | |
| 2065 | |
| 2066 | |
| 2067 | </div> |
| 2068 | <div class="jd-details-descr"> |
| 2069 | |
| 2070 | |
| 2071 | |
| 2072 | |
| 2073 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description matches the given |
| 2074 | regex. |
| 2075 | </p></div> |
| 2076 | |
| 2077 | </div> |
| 2078 | </div> |
| 2079 | |
| 2080 | |
| 2081 | <A NAME="descStartsWith(java.lang.String)"></A> |
| 2082 | |
| 2083 | <div class="jd-details api apilevel-"> |
| 2084 | <h4 class="jd-details-title"> |
| 2085 | <span class="normal"> |
| 2086 | public |
| 2087 | static |
| 2088 | |
| 2089 | |
| 2090 | |
| 2091 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2092 | </span> |
| 2093 | <span class="sympad">descStartsWith</span> |
| 2094 | <span class="normal">(String substring)</span> |
| 2095 | </h4> |
| 2096 | <div class="api-level"> |
| 2097 | <div></div> |
| 2098 | |
| 2099 | |
| 2100 | |
| 2101 | </div> |
| 2102 | <div class="jd-details-descr"> |
| 2103 | |
| 2104 | |
| 2105 | |
| 2106 | |
| 2107 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's content description starts with the |
| 2108 | given string. |
| 2109 | </p></div> |
| 2110 | |
| 2111 | </div> |
| 2112 | </div> |
| 2113 | |
| 2114 | |
| 2115 | <A NAME="enabled(boolean)"></A> |
| 2116 | |
| 2117 | <div class="jd-details api apilevel-"> |
| 2118 | <h4 class="jd-details-title"> |
| 2119 | <span class="normal"> |
| 2120 | public |
| 2121 | static |
| 2122 | |
| 2123 | |
| 2124 | |
| 2125 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2126 | </span> |
| 2127 | <span class="sympad">enabled</span> |
| 2128 | <span class="normal">(boolean isEnabled)</span> |
| 2129 | </h4> |
| 2130 | <div class="api-level"> |
| 2131 | <div></div> |
| 2132 | |
| 2133 | |
| 2134 | |
| 2135 | </div> |
| 2136 | <div class="jd-details-descr"> |
| 2137 | |
| 2138 | |
| 2139 | |
| 2140 | |
| 2141 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s enabled state.</p></div> |
| 2142 | <div class="jd-tagdata"> |
| 2143 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2144 | <table class="jd-tagtable"> |
| 2145 | <tr> |
| 2146 | <th>isEnabled</td> |
| 2147 | <td>Whether the object should be enabled to satisfy this condition. |
| 2148 | </td> |
| 2149 | </tr> |
| 2150 | </table> |
| 2151 | </div> |
| 2152 | |
| 2153 | </div> |
| 2154 | </div> |
| 2155 | |
| 2156 | |
| 2157 | <A NAME="findObject(android.support.test.uiautomator.BySelector)"></A> |
| 2158 | |
| 2159 | <div class="jd-details api apilevel-"> |
| 2160 | <h4 class="jd-details-title"> |
| 2161 | <span class="normal"> |
| 2162 | public |
| 2163 | static |
| 2164 | |
| 2165 | |
| 2166 | |
| 2167 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><<a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a>> |
| 2168 | </span> |
| 2169 | <span class="sympad">findObject</span> |
| 2170 | <span class="normal">(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</span> |
| 2171 | </h4> |
| 2172 | <div class="api-level"> |
| 2173 | <div></div> |
| 2174 | |
| 2175 | |
| 2176 | |
| 2177 | </div> |
| 2178 | <div class="jd-details-descr"> |
| 2179 | |
| 2180 | |
| 2181 | |
| 2182 | |
| 2183 | <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 2184 | selector can be found. The condition will return the first matching element. |
| 2185 | </p></div> |
| 2186 | |
| 2187 | </div> |
| 2188 | </div> |
| 2189 | |
| 2190 | |
| 2191 | <A NAME="findObjects(android.support.test.uiautomator.BySelector)"></A> |
| 2192 | |
| 2193 | <div class="jd-details api apilevel-"> |
| 2194 | <h4 class="jd-details-title"> |
| 2195 | <span class="normal"> |
| 2196 | public |
| 2197 | static |
| 2198 | |
| 2199 | |
| 2200 | |
| 2201 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><List<<a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a>>> |
| 2202 | </span> |
| 2203 | <span class="sympad">findObjects</span> |
| 2204 | <span class="normal">(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</span> |
| 2205 | </h4> |
| 2206 | <div class="api-level"> |
| 2207 | <div></div> |
| 2208 | |
| 2209 | |
| 2210 | |
| 2211 | </div> |
| 2212 | <div class="jd-details-descr"> |
| 2213 | |
| 2214 | |
| 2215 | |
| 2216 | |
| 2217 | <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 2218 | selector can be found. The condition will return all matching elements. |
| 2219 | </p></div> |
| 2220 | |
| 2221 | </div> |
| 2222 | </div> |
| 2223 | |
| 2224 | |
| 2225 | <A NAME="focusable(boolean)"></A> |
| 2226 | |
| 2227 | <div class="jd-details api apilevel-"> |
| 2228 | <h4 class="jd-details-title"> |
| 2229 | <span class="normal"> |
| 2230 | public |
| 2231 | static |
| 2232 | |
| 2233 | |
| 2234 | |
| 2235 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2236 | </span> |
| 2237 | <span class="sympad">focusable</span> |
| 2238 | <span class="normal">(boolean isFocusable)</span> |
| 2239 | </h4> |
| 2240 | <div class="api-level"> |
| 2241 | <div></div> |
| 2242 | |
| 2243 | |
| 2244 | |
| 2245 | </div> |
| 2246 | <div class="jd-details-descr"> |
| 2247 | |
| 2248 | |
| 2249 | |
| 2250 | |
| 2251 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s focusable state.</p></div> |
| 2252 | <div class="jd-tagdata"> |
| 2253 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2254 | <table class="jd-tagtable"> |
| 2255 | <tr> |
| 2256 | <th>isFocusable</td> |
| 2257 | <td>Whether the object should be focusable to satisfy this condition. |
| 2258 | </td> |
| 2259 | </tr> |
| 2260 | </table> |
| 2261 | </div> |
| 2262 | |
| 2263 | </div> |
| 2264 | </div> |
| 2265 | |
| 2266 | |
| 2267 | <A NAME="focused(boolean)"></A> |
| 2268 | |
| 2269 | <div class="jd-details api apilevel-"> |
| 2270 | <h4 class="jd-details-title"> |
| 2271 | <span class="normal"> |
| 2272 | public |
| 2273 | static |
| 2274 | |
| 2275 | |
| 2276 | |
| 2277 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2278 | </span> |
| 2279 | <span class="sympad">focused</span> |
| 2280 | <span class="normal">(boolean isFocused)</span> |
| 2281 | </h4> |
| 2282 | <div class="api-level"> |
| 2283 | <div></div> |
| 2284 | |
| 2285 | |
| 2286 | |
| 2287 | </div> |
| 2288 | <div class="jd-details-descr"> |
| 2289 | |
| 2290 | |
| 2291 | |
| 2292 | |
| 2293 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s focused state.</p></div> |
| 2294 | <div class="jd-tagdata"> |
| 2295 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2296 | <table class="jd-tagtable"> |
| 2297 | <tr> |
| 2298 | <th>isFocused</td> |
| 2299 | <td>Whether the object should be focused to satisfy this condition. |
| 2300 | </td> |
| 2301 | </tr> |
| 2302 | </table> |
| 2303 | </div> |
| 2304 | |
| 2305 | </div> |
| 2306 | </div> |
| 2307 | |
| 2308 | |
| 2309 | <A NAME="gone(android.support.test.uiautomator.BySelector)"></A> |
| 2310 | |
| 2311 | <div class="jd-details api apilevel-"> |
| 2312 | <h4 class="jd-details-title"> |
| 2313 | <span class="normal"> |
| 2314 | public |
| 2315 | static |
| 2316 | |
| 2317 | |
| 2318 | |
| 2319 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><Boolean> |
| 2320 | </span> |
| 2321 | <span class="sympad">gone</span> |
| 2322 | <span class="normal">(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</span> |
| 2323 | </h4> |
| 2324 | <div class="api-level"> |
| 2325 | <div></div> |
| 2326 | |
| 2327 | |
| 2328 | |
| 2329 | </div> |
| 2330 | <div class="jd-details-descr"> |
| 2331 | |
| 2332 | |
| 2333 | |
| 2334 | |
| 2335 | <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when no elements matching the selector |
| 2336 | can be found. |
| 2337 | </p></div> |
| 2338 | |
| 2339 | </div> |
| 2340 | </div> |
| 2341 | |
| 2342 | |
| 2343 | <A NAME="hasObject(android.support.test.uiautomator.BySelector)"></A> |
| 2344 | |
| 2345 | <div class="jd-details api apilevel-"> |
| 2346 | <h4 class="jd-details-title"> |
| 2347 | <span class="normal"> |
| 2348 | public |
| 2349 | static |
| 2350 | |
| 2351 | |
| 2352 | |
| 2353 | <a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a><Boolean> |
| 2354 | </span> |
| 2355 | <span class="sympad">hasObject</span> |
| 2356 | <span class="normal">(<a href="../../../../../reference/android/support/test/uiautomator/BySelector.html">BySelector</a> selector)</span> |
| 2357 | </h4> |
| 2358 | <div class="api-level"> |
| 2359 | <div></div> |
| 2360 | |
| 2361 | |
| 2362 | |
| 2363 | </div> |
| 2364 | <div class="jd-details-descr"> |
| 2365 | |
| 2366 | |
| 2367 | |
| 2368 | |
| 2369 | <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></code> that is satisfied when at least one element matching the |
| 2370 | selector can be found. |
| 2371 | </p></div> |
| 2372 | |
| 2373 | </div> |
| 2374 | </div> |
| 2375 | |
| 2376 | |
| 2377 | <A NAME="longClickable(boolean)"></A> |
| 2378 | |
| 2379 | <div class="jd-details api apilevel-"> |
| 2380 | <h4 class="jd-details-title"> |
| 2381 | <span class="normal"> |
| 2382 | public |
| 2383 | static |
| 2384 | |
| 2385 | |
| 2386 | |
| 2387 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2388 | </span> |
| 2389 | <span class="sympad">longClickable</span> |
| 2390 | <span class="normal">(boolean isLongClickable)</span> |
| 2391 | </h4> |
| 2392 | <div class="api-level"> |
| 2393 | <div></div> |
| 2394 | |
| 2395 | |
| 2396 | |
| 2397 | </div> |
| 2398 | <div class="jd-details-descr"> |
| 2399 | |
| 2400 | |
| 2401 | |
| 2402 | |
| 2403 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s long clickable state.</p></div> |
| 2404 | <div class="jd-tagdata"> |
| 2405 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2406 | <table class="jd-tagtable"> |
| 2407 | <tr> |
| 2408 | <th>isLongClickable</td> |
| 2409 | <td>Whether the object should be long clickable to satisfy this condition. |
| 2410 | </td> |
| 2411 | </tr> |
| 2412 | </table> |
| 2413 | </div> |
| 2414 | |
| 2415 | </div> |
| 2416 | </div> |
| 2417 | |
| 2418 | |
| 2419 | <A NAME="newWindow()"></A> |
| 2420 | |
| 2421 | <div class="jd-details api apilevel-"> |
| 2422 | <h4 class="jd-details-title"> |
| 2423 | <span class="normal"> |
| 2424 | public |
| 2425 | static |
| 2426 | |
| 2427 | |
| 2428 | |
| 2429 | <a href="../../../../../reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a><Boolean> |
| 2430 | </span> |
| 2431 | <span class="sympad">newWindow</span> |
| 2432 | <span class="normal">()</span> |
| 2433 | </h4> |
| 2434 | <div class="api-level"> |
| 2435 | <div></div> |
| 2436 | |
| 2437 | |
| 2438 | |
| 2439 | </div> |
| 2440 | <div class="jd-details-descr"> |
| 2441 | |
| 2442 | |
| 2443 | |
| 2444 | |
| 2445 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a new window having appeared. </p></div> |
| 2446 | |
| 2447 | </div> |
| 2448 | </div> |
| 2449 | |
| 2450 | |
| 2451 | <A NAME="scrollFinished(android.support.test.uiautomator.Direction)"></A> |
| 2452 | |
| 2453 | <div class="jd-details api apilevel-"> |
| 2454 | <h4 class="jd-details-title"> |
| 2455 | <span class="normal"> |
| 2456 | public |
| 2457 | static |
| 2458 | |
| 2459 | |
| 2460 | |
| 2461 | <a href="../../../../../reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a><Boolean> |
| 2462 | </span> |
| 2463 | <span class="sympad">scrollFinished</span> |
| 2464 | <span class="normal">(<a href="../../../../../reference/android/support/test/uiautomator/Direction.html">Direction</a> direction)</span> |
| 2465 | </h4> |
| 2466 | <div class="api-level"> |
| 2467 | <div></div> |
| 2468 | |
| 2469 | |
| 2470 | |
| 2471 | </div> |
| 2472 | <div class="jd-details-descr"> |
| 2473 | |
| 2474 | |
| 2475 | |
| 2476 | |
| 2477 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a scroll having reached the end in the given |
| 2478 | <code>direction</code>.</p></div> |
| 2479 | <div class="jd-tagdata"> |
| 2480 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2481 | <table class="jd-tagtable"> |
| 2482 | <tr> |
| 2483 | <th>direction</td> |
| 2484 | <td>The direction of the scroll. |
| 2485 | </td> |
| 2486 | </tr> |
| 2487 | </table> |
| 2488 | </div> |
| 2489 | |
| 2490 | </div> |
| 2491 | </div> |
| 2492 | |
| 2493 | |
| 2494 | <A NAME="scrollable(boolean)"></A> |
| 2495 | |
| 2496 | <div class="jd-details api apilevel-"> |
| 2497 | <h4 class="jd-details-title"> |
| 2498 | <span class="normal"> |
| 2499 | public |
| 2500 | static |
| 2501 | |
| 2502 | |
| 2503 | |
| 2504 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2505 | </span> |
| 2506 | <span class="sympad">scrollable</span> |
| 2507 | <span class="normal">(boolean isScrollable)</span> |
| 2508 | </h4> |
| 2509 | <div class="api-level"> |
| 2510 | <div></div> |
| 2511 | |
| 2512 | |
| 2513 | |
| 2514 | </div> |
| 2515 | <div class="jd-details-descr"> |
| 2516 | |
| 2517 | |
| 2518 | |
| 2519 | |
| 2520 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s scrollable state.</p></div> |
| 2521 | <div class="jd-tagdata"> |
| 2522 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2523 | <table class="jd-tagtable"> |
| 2524 | <tr> |
| 2525 | <th>isScrollable</td> |
| 2526 | <td>Whether the object should be scrollable to satisfy this condition. |
| 2527 | </td> |
| 2528 | </tr> |
| 2529 | </table> |
| 2530 | </div> |
| 2531 | |
| 2532 | </div> |
| 2533 | </div> |
| 2534 | |
| 2535 | |
| 2536 | <A NAME="selected(boolean)"></A> |
| 2537 | |
| 2538 | <div class="jd-details api apilevel-"> |
| 2539 | <h4 class="jd-details-title"> |
| 2540 | <span class="normal"> |
| 2541 | public |
| 2542 | static |
| 2543 | |
| 2544 | |
| 2545 | |
| 2546 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2547 | </span> |
| 2548 | <span class="sympad">selected</span> |
| 2549 | <span class="normal">(boolean isSelected)</span> |
| 2550 | </h4> |
| 2551 | <div class="api-level"> |
| 2552 | <div></div> |
| 2553 | |
| 2554 | |
| 2555 | |
| 2556 | </div> |
| 2557 | <div class="jd-details-descr"> |
| 2558 | |
| 2559 | |
| 2560 | |
| 2561 | |
| 2562 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that depends on a <code><a href="../../../../../reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></code>'s selected state.</p></div> |
| 2563 | <div class="jd-tagdata"> |
| 2564 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2565 | <table class="jd-tagtable"> |
| 2566 | <tr> |
| 2567 | <th>isSelected</td> |
| 2568 | <td>Whether the object should be selected to satisfy this condition. |
| 2569 | </td> |
| 2570 | </tr> |
| 2571 | </table> |
| 2572 | </div> |
| 2573 | |
| 2574 | </div> |
| 2575 | </div> |
| 2576 | |
| 2577 | |
| 2578 | <A NAME="textContains(java.lang.String)"></A> |
| 2579 | |
| 2580 | <div class="jd-details api apilevel-"> |
| 2581 | <h4 class="jd-details-title"> |
| 2582 | <span class="normal"> |
| 2583 | public |
| 2584 | static |
| 2585 | |
| 2586 | |
| 2587 | |
| 2588 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2589 | </span> |
| 2590 | <span class="sympad">textContains</span> |
| 2591 | <span class="normal">(String substring)</span> |
| 2592 | </h4> |
| 2593 | <div class="api-level"> |
| 2594 | <div></div> |
| 2595 | |
| 2596 | |
| 2597 | |
| 2598 | </div> |
| 2599 | <div class="jd-details-descr"> |
| 2600 | |
| 2601 | |
| 2602 | |
| 2603 | |
| 2604 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value contains the given string. |
| 2605 | </p></div> |
| 2606 | |
| 2607 | </div> |
| 2608 | </div> |
| 2609 | |
| 2610 | |
| 2611 | <A NAME="textEndsWith(java.lang.String)"></A> |
| 2612 | |
| 2613 | <div class="jd-details api apilevel-"> |
| 2614 | <h4 class="jd-details-title"> |
| 2615 | <span class="normal"> |
| 2616 | public |
| 2617 | static |
| 2618 | |
| 2619 | |
| 2620 | |
| 2621 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2622 | </span> |
| 2623 | <span class="sympad">textEndsWith</span> |
| 2624 | <span class="normal">(String substring)</span> |
| 2625 | </h4> |
| 2626 | <div class="api-level"> |
| 2627 | <div></div> |
| 2628 | |
| 2629 | |
| 2630 | |
| 2631 | </div> |
| 2632 | <div class="jd-details-descr"> |
| 2633 | |
| 2634 | |
| 2635 | |
| 2636 | |
| 2637 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value ends with the given |
| 2638 | string. |
| 2639 | </p></div> |
| 2640 | |
| 2641 | </div> |
| 2642 | </div> |
| 2643 | |
| 2644 | |
| 2645 | <A NAME="textEquals(java.lang.String)"></A> |
| 2646 | |
| 2647 | <div class="jd-details api apilevel-"> |
| 2648 | <h4 class="jd-details-title"> |
| 2649 | <span class="normal"> |
| 2650 | public |
| 2651 | static |
| 2652 | |
| 2653 | |
| 2654 | |
| 2655 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2656 | </span> |
| 2657 | <span class="sympad">textEquals</span> |
| 2658 | <span class="normal">(String text)</span> |
| 2659 | </h4> |
| 2660 | <div class="api-level"> |
| 2661 | <div></div> |
| 2662 | |
| 2663 | |
| 2664 | |
| 2665 | </div> |
| 2666 | <div class="jd-details-descr"> |
| 2667 | |
| 2668 | |
| 2669 | |
| 2670 | |
| 2671 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value exactly matches the given |
| 2672 | string. |
| 2673 | </p></div> |
| 2674 | |
| 2675 | </div> |
| 2676 | </div> |
| 2677 | |
| 2678 | |
| 2679 | <A NAME="textMatches(java.lang.String)"></A> |
| 2680 | |
| 2681 | <div class="jd-details api apilevel-"> |
| 2682 | <h4 class="jd-details-title"> |
| 2683 | <span class="normal"> |
| 2684 | public |
| 2685 | static |
| 2686 | |
| 2687 | |
| 2688 | |
| 2689 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2690 | </span> |
| 2691 | <span class="sympad">textMatches</span> |
| 2692 | <span class="normal">(String regex)</span> |
| 2693 | </h4> |
| 2694 | <div class="api-level"> |
| 2695 | <div></div> |
| 2696 | |
| 2697 | |
| 2698 | |
| 2699 | </div> |
| 2700 | <div class="jd-details-descr"> |
| 2701 | |
| 2702 | |
| 2703 | |
| 2704 | |
| 2705 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value matches the given regex. |
| 2706 | </p></div> |
| 2707 | |
| 2708 | </div> |
| 2709 | </div> |
| 2710 | |
| 2711 | |
| 2712 | <A NAME="textMatches(java.util.regex.Pattern)"></A> |
| 2713 | |
| 2714 | <div class="jd-details api apilevel-"> |
| 2715 | <h4 class="jd-details-title"> |
| 2716 | <span class="normal"> |
| 2717 | public |
| 2718 | static |
| 2719 | |
| 2720 | |
| 2721 | |
| 2722 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2723 | </span> |
| 2724 | <span class="sympad">textMatches</span> |
| 2725 | <span class="normal">(Pattern regex)</span> |
| 2726 | </h4> |
| 2727 | <div class="api-level"> |
| 2728 | <div></div> |
| 2729 | |
| 2730 | |
| 2731 | |
| 2732 | </div> |
| 2733 | <div class="jd-details-descr"> |
| 2734 | |
| 2735 | |
| 2736 | |
| 2737 | |
| 2738 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value matches the given regex. |
| 2739 | </p></div> |
| 2740 | |
| 2741 | </div> |
| 2742 | </div> |
| 2743 | |
| 2744 | |
| 2745 | <A NAME="textNotEquals(java.lang.String)"></A> |
| 2746 | |
| 2747 | <div class="jd-details api apilevel-"> |
| 2748 | <h4 class="jd-details-title"> |
| 2749 | <span class="normal"> |
| 2750 | public |
| 2751 | static |
| 2752 | |
| 2753 | |
| 2754 | |
| 2755 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2756 | </span> |
| 2757 | <span class="sympad">textNotEquals</span> |
| 2758 | <span class="normal">(String text)</span> |
| 2759 | </h4> |
| 2760 | <div class="api-level"> |
| 2761 | <div></div> |
| 2762 | |
| 2763 | |
| 2764 | |
| 2765 | </div> |
| 2766 | <div class="jd-details-descr"> |
| 2767 | |
| 2768 | |
| 2769 | |
| 2770 | |
| 2771 | <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| 2772 | |
| 2773 | </div> |
| 2774 | </div> |
| 2775 | |
| 2776 | |
| 2777 | <A NAME="textStartsWith(java.lang.String)"></A> |
| 2778 | |
| 2779 | <div class="jd-details api apilevel-"> |
| 2780 | <h4 class="jd-details-title"> |
| 2781 | <span class="normal"> |
| 2782 | public |
| 2783 | static |
| 2784 | |
| 2785 | |
| 2786 | |
| 2787 | <a href="../../../../../reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a><Boolean> |
| 2788 | </span> |
| 2789 | <span class="sympad">textStartsWith</span> |
| 2790 | <span class="normal">(String substring)</span> |
| 2791 | </h4> |
| 2792 | <div class="api-level"> |
| 2793 | <div></div> |
| 2794 | |
| 2795 | |
| 2796 | |
| 2797 | </div> |
| 2798 | <div class="jd-details-descr"> |
| 2799 | |
| 2800 | |
| 2801 | |
| 2802 | |
| 2803 | <div class="jd-tagdata jd-tagdescr"><p>Returns a condition that is satisfied when the object's text value starts with the given |
| 2804 | string. |
| 2805 | </p></div> |
| 2806 | |
| 2807 | </div> |
| 2808 | </div> |
| 2809 | |
| 2810 | |
| 2811 | |
| 2812 | |
| 2813 | |
| 2814 | <!-- ========= METHOD DETAIL ======== --> |
| 2815 | |
| 2816 | |
| 2817 | |
| 2818 | <!-- ========= END OF CLASS DATA ========= --> |
| 2819 | <A NAME="navbar_top"></A> |
| 2820 | |
| 2821 | <div id="footer" class="wrap" > |
| 2822 | |
| 2823 | |
| 2824 | <div id="copyright"> |
| 2825 | |
| 2826 | Except as noted, this content is licensed under <a |
| 2827 | href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. |
| 2828 | For details and restrictions, see the <a href="../../../../../license.html"> |
| 2829 | Content License</a>. |
| 2830 | </div> |
| 2831 | <div id="build_info"> |
| 2832 | |
| 2833 | Android r — |
| 2834 | <script src="../../../../../timestamp.js" type="text/javascript"></script> |
| 2835 | <script>document.write(BUILD_TIMESTAMP)</script> |
| 2836 | |
| 2837 | </div> |
| 2838 | |
| 2839 | |
| 2840 | <div id="footerlinks"> |
| 2841 | |
| 2842 | <p> |
| 2843 | <a href="../../../../../about/index.html">About Android</a> | |
| 2844 | <a href="../../../../../legal.html">Legal</a> | |
| 2845 | <a href="../../../../../support.html">Support</a> |
| 2846 | </p> |
| 2847 | </div> |
| 2848 | |
| 2849 | </div> <!-- end footer --> |
| 2850 | </div> <!-- jd-content --> |
| 2851 | |
| 2852 | </div><!-- end doc-content --> |
| 2853 | |
| 2854 | </div> <!-- end body-content --> |
| 2855 | |
| 2856 | |
| 2857 | |
| 2858 | |
| 2859 | |
| 2860 | |
| 2861 | </body> |
| 2862 | </html> |