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>IAutomationSupport</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">IAutomationSupport</h1> 179<p> 180<code class="api-signature"> 181 public 182 183 184 185 interface 186 IAutomationSupport 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.uiautomator.IAutomationSupport 203 </td> 204 </tr> 205 206 207</table> 208 209 210 211 212<br><hr> 213 214 215 <p>Provides auxiliary support for running test cases</p> 216 217 218 219 220 221 222 223<h2 class="api-section">Summary</h2> 224 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<!-- ========== METHOD SUMMARY =========== --> 252<table id="pubmethods" class="responsive methods"> 253<tr><th colspan="2"><h3>Public methods</h3></th></tr> 254 255 256 257 258 <tr class="api apilevel-" > 259 260 261 <td><code> 262 abstract 263 264 265 266 267 void</code> 268 </td> 269 270 <td width="100%"> 271 <code> 272 <a href="/reference/android/support/test/uiautomator/IAutomationSupport.html#sendStatus(int, android.os.Bundle)">sendStatus</a>(int resultCode, Bundle status) 273 </code> 274 275 <p>Allows the running test cases to send out interim status 276 277 278</p> 279 280 </td> 281 </tr> 282 283 284 285</table> 286 287 288 289 290 291 292 293 294<!-- XML Attributes --> 295 296 297<!-- Enum Values --> 298 299 300<!-- Constants --> 301 302 303<!-- Fields --> 304 305 306<!-- Public ctors --> 307 308 309 310<!-- ========= CONSTRUCTOR DETAIL ======== --> 311<!-- Protected ctors --> 312 313 314 315<!-- ========= METHOD DETAIL ======== --> 316<!-- Public methdos --> 317 318<h2 class="api-section">Public methods</h2> 319 320 321 322<A NAME="sendStatus(int, android.os.Bundle)"></A> 323 324<div class="api apilevel-"> 325 <h3 class="api-name">sendStatus</h3> 326 <div class="api-level"> 327 <div></div> 328 329 330 331 </div> 332<pre class="api-signature no-pretty-print"> 333void sendStatus (int resultCode, 334 Bundle status)</pre> 335 336 337 338 339 <p>Allows the running test cases to send out interim status</p> 340 341 <table class="responsive"> 342 <tr><th colspan=2>Parameters</th></tr> 343 <tr> 344 <td><code>status</code></td> 345 <td width="100%"> 346 <code>Bundle</code>: 347 status report, consisting of key value pairs</td> 348 </tr> 349 </table> 350 351</div> 352 353 354 355 356 357<!-- ========= METHOD DETAIL ======== --> 358 359 360 361<!-- ========= END OF CLASS DATA ========= --> 362 363</div><!-- end jd-content --> 364 365 366 367<div class="data-reference-resources-wrapper"> 368 369 <ul data-reference-resources> 370 371 372 <li><h2>Interfaces</h2> 373 <ul> 374 <li class="selected api apilevel-"><a href="/reference/android/support/test/uiautomator/IAutomationSupport.html">IAutomationSupport</a></li> 375 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiWatcher.html">UiWatcher</a></li> 376 </ul> 377 </li> 378 379 <li><h2>Classes</h2> 380 <ul> 381 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/By.html">By</a></li> 382 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/BySelector.html">BySelector</a></li> 383 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Configurator.html">Configurator</a></li> 384 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a></li> 385 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></li> 386 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorInstrumentationTestRunner.html">UiAutomatorInstrumentationTestRunner</a></li> 387 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorTestCase.html">UiAutomatorTestCase</a></li> 388 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiCollection.html">UiCollection</a></li> 389 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiDevice.html">UiDevice</a></li> 390 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject.html">UiObject</a></li> 391 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></li> 392 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a></li> 393 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiScrollable.html">UiScrollable</a></li> 394 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiSelector.html">UiSelector</a></li> 395 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Until.html">Until</a></li> 396 </ul> 397 </li> 398 399 <li><h2>Enums</h2> 400 <ul> 401 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Direction.html">Direction</a></li> 402 </ul> 403 </li> 404 405 <li><h2>Exceptions</h2> 406 <ul> 407 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/StaleObjectException.html">StaleObjectException</a></li> 408 <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html">UiObjectNotFoundException</a></li> 409 </ul> 410 </li> 411 412 </ul> 413 414</div> 415 416 417 418</body> 419</html> 420