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>MainThread</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176<div class="sum-details-links"> 177 178Summary: 179 180 181 182 183 184 185 186 187 188 189 190 191 192 <a href="#inhmethods">Inherited Methods</a> 193 194| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 195 196</div><!-- end sum-details-links --> 197</div><!-- end api-info-block --> 198 199<div class="api apilevel-" id="jd-content"> 200 201<!-- ======== START OF CLASS DATA ======== --> 202 203<h1 class="api-title">MainThread</h1> 204<p> 205<code class="api-signature"> 206 public 207 208 209 abstract 210 @interface 211 MainThread 212</code> 213<br> 214 215 216<code class="api-signature"> 217 218 219 implements 220 221 Annotation 222 223 224 225</code> 226 227</p><table class="jd-inheritance-table"> 228 229 230 <tr> 231 232 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.base.MainThread 233 </td> 234 </tr> 235 236 237</table> 238 239 240 241 242<br><hr> 243 244 245 <p>Annotates an Executor that executes tasks on the main thread 246</p> 247 248 249 250 251 252 253 254<h2 class="api-section">Summary</h2> 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287<!-- ========== METHOD SUMMARY =========== --> 288<table id="inhmethods" class="methods inhtable"> 289<tr><th><h3>Inherited methods</h3></th></tr> 290 291 292<tr class="api apilevel-" > 293<td colspan="2"> 294 295 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.annotation.Annotation" class="jd-expando-trigger closed" 296 ><img height="34" id="inherited-methods-java.lang.annotation.Annotation-trigger" 297 src="/assets/images/styles/disclosure_down.png" 298 class="jd-expando-trigger-img" /></a>From 299interface 300<code> 301 302 java.lang.annotation.Annotation 303 304</code> 305<div id="inherited-methods-java.lang.annotation.Annotation"> 306 <div id="inherited-methods-java.lang.annotation.Annotation-list" 307 class="jd-inheritedlinks"> 308 </div> 309 <div id="inherited-methods-java.lang.annotation.Annotation-summary" style="display: none;"> 310 <table class="jd-sumtable-expando responsive"> 311 312 313 314 315 <tr class="api apilevel-" > 316 317 318 <td><code> 319 abstract 320 321 322 323 324 Class<? extends Annotation></code> 325 </td> 326 327 <td width="100%"> 328 <code> 329 annotationType() 330 </code> 331 332 </td> 333 </tr> 334 335 336 337 <tr class="api apilevel-" > 338 339 340 <td><code> 341 abstract 342 343 344 345 346 boolean</code> 347 </td> 348 349 <td width="100%"> 350 <code> 351 equals(Object arg0) 352 </code> 353 354 </td> 355 </tr> 356 357 358 359 <tr class="api apilevel-" > 360 361 362 <td><code> 363 abstract 364 365 366 367 368 int</code> 369 </td> 370 371 <td width="100%"> 372 <code> 373 hashCode() 374 </code> 375 376 </td> 377 </tr> 378 379 380 381 <tr class="api apilevel-" > 382 383 384 <td><code> 385 abstract 386 387 388 389 390 String</code> 391 </td> 392 393 <td width="100%"> 394 <code> 395 toString() 396 </code> 397 398 </td> 399 </tr> 400 401 402 403 </table> 404 </div> 405</div> 406</td></tr> 407 408 409</table> 410 411 412 413<!-- XML Attributes --> 414 415 416<!-- Enum Values --> 417 418 419<!-- Constants --> 420 421 422<!-- Fields --> 423 424 425<!-- Public ctors --> 426 427 428 429<!-- ========= CONSTRUCTOR DETAIL ======== --> 430<!-- Protected ctors --> 431 432 433 434<!-- ========= METHOD DETAIL ======== --> 435<!-- Public methdos --> 436 437 438 439<!-- ========= METHOD DETAIL ======== --> 440 441 442 443<!-- ========= END OF CLASS DATA ========= --> 444 445</div><!-- end jd-content --> 446 447 448 449<div class="data-reference-resources-wrapper"> 450 451 <ul data-reference-resources> 452 453 <li><h2>Annotations</h2> 454 <ul> 455 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/Default.html">Default</a></li> 456 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/base/MainThread.html">MainThread</a></li> 457 </ul> 458 </li> 459 460 <li><h2>Interfaces</h2> 461 <ul> 462 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ActiveRootLister.html">ActiveRootLister</a></li> 463 </ul> 464 </li> 465 466 <li><h2>Classes</h2> 467 <ul> 468 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.html">BaseLayerModule</a></li> 469 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.FailureHandlerHolder.html">BaseLayerModule.FailureHandlerHolder</a></li> 470 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/DefaultFailureHandler.html">DefaultFailureHandler</a></li> 471 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/IdlingResourceRegistry.html">IdlingResourceRegistry</a></li> 472 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/RootViewPicker.html">RootViewPicker</a></li> 473 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/UiControllerModule.html">UiControllerModule</a></li> 474 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ViewFinderImpl.html">ViewFinderImpl</a></li> 475 </ul> 476 </li> 477 478 479 480 </ul> 481 482</div> 483 484 485 486</body> 487</html> 488