1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>ActiveRootLister</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169<div class="sum-details-links"> 170 171</div><!-- end sum-details-links --> 172</div><!-- end api-info-block --> 173 174<div class="api apilevel-" id="jd-content"> 175 176<!-- ======== START OF CLASS DATA ======== --> 177 178<h1 class="api-title">ActiveRootLister</h1> 179<p> 180<code class="api-signature"> 181 public 182 183 184 185 interface 186 ActiveRootLister 187</code> 188<br> 189 190 191<code class="api-signature"> 192 193 194 195</code> 196 197</p><table class="jd-inheritance-table"> 198 199 200 <tr> 201 202 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.base.ActiveRootLister 203 </td> 204 </tr> 205 206 207</table> 208 209 210 211 212<br><hr> 213 214 215 <p>Provides access to all root views in an application. 216</p> 217 218 219 220 221 222 223 224<h2 class="api-section">Summary</h2> 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252<!-- ========== METHOD SUMMARY =========== --> 253<table id="pubmethods" class="responsive methods"> 254<tr><th colspan="2"><h3>Public methods</h3></th></tr> 255 256 257 258 259 <tr class="api apilevel-" > 260 261 262 <td><code> 263 abstract 264 265 266 267 268 List<<a href="/reference/android/support/test/espresso/Root.html">Root</a>></code> 269 </td> 270 271 <td width="100%"> 272 <code> 273 <a href="/reference/android/support/test/espresso/base/ActiveRootLister.html#listActiveRoots()">listActiveRoots</a>() 274 </code> 275 276 <p>Lists the active roots in an application at this moment. 277 278 279</p> 280 281 </td> 282 </tr> 283 284 285 286</table> 287 288 289 290 291 292 293 294 295<!-- XML Attributes --> 296 297 298<!-- Enum Values --> 299 300 301<!-- Constants --> 302 303 304<!-- Fields --> 305 306 307<!-- Public ctors --> 308 309 310 311<!-- ========= CONSTRUCTOR DETAIL ======== --> 312<!-- Protected ctors --> 313 314 315 316<!-- ========= METHOD DETAIL ======== --> 317<!-- Public methdos --> 318 319<h2 class="api-section">Public methods</h2> 320 321 322 323<A NAME="listActiveRoots()"></A> 324 325<div class="api apilevel-"> 326 <h3 class="api-name">listActiveRoots</h3> 327 <div class="api-level"> 328 <div></div> 329 330 331 332 </div> 333<pre class="api-signature no-pretty-print"> 334List<<a href="/reference/android/support/test/espresso/Root.html">Root</a>> listActiveRoots ()</pre> 335 336 337 338 339 <p>Lists the active roots in an application at this moment.</p> 340 <table class="responsive"> 341 <tr><th colspan=2>Returns</th></tr> 342 <tr> 343 <td><code>List<<a href="/reference/android/support/test/espresso/Root.html">Root</a>></code></td> 344 <td width="100%">a list of all the active roots in the application.</td> 345 </tr> 346 </table> 347 <table class="responsive"> 348 <tr><th colspan=2>Throws</th></tr> 349 <tr> 350 <td><code>IllegalStateException</code></td> 351 <td width="100%">if invoked from a thread besides the main thread. 352</td> 353 </tr> 354 </table> 355 356 357</div> 358 359 360 361 362 363<!-- ========= METHOD DETAIL ======== --> 364 365 366 367<!-- ========= END OF CLASS DATA ========= --> 368 369</div><!-- end jd-content --> 370 371 372 373<div class="data-reference-resources-wrapper"> 374 375 <ul data-reference-resources> 376 377 <li><h2>Annotations</h2> 378 <ul> 379 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/Default.html">Default</a></li> 380 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/MainThread.html">MainThread</a></li> 381 </ul> 382 </li> 383 384 <li><h2>Interfaces</h2> 385 <ul> 386 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/base/ActiveRootLister.html">ActiveRootLister</a></li> 387 </ul> 388 </li> 389 390 <li><h2>Classes</h2> 391 <ul> 392 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.html">BaseLayerModule</a></li> 393 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.FailureHandlerHolder.html">BaseLayerModule.FailureHandlerHolder</a></li> 394 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/DefaultFailureHandler.html">DefaultFailureHandler</a></li> 395 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/IdlingResourceRegistry.html">IdlingResourceRegistry</a></li> 396 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/RootViewPicker.html">RootViewPicker</a></li> 397 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/UiControllerModule.html">UiControllerModule</a></li> 398 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ViewFinderImpl.html">ViewFinderImpl</a></li> 399 </ul> 400 </li> 401 402 403 404 </ul> 405 406</div> 407 408 409 410</body> 411</html> 412