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<html> 94<head> 95 96 97<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 98<meta name="viewport" content="width=device-width" /> 99 100<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico" /> 101<title>Package Index | Android Developers</title> 102 103<!-- STYLESHEETS --> 104<link rel="stylesheet" 105href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> 106<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 107 title="roboto"> 108<link href="../assets/css/default.css?v=4" rel="stylesheet" type="text/css"> 109 110 111<!-- FULLSCREEN STYLESHEET --> 112<link href="../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" 113type="text/css"> 114 115 116<!-- JAVASCRIPT --> 117<script src="http://www.google.com/jsapi" type="text/javascript"></script> 118<script src="../assets/js/android_3p-bundle.js" type="text/javascript"></script> 119<script type="text/javascript"> 120 var toRoot = "../"; 121 var metaTags = []; 122 var devsite = false; 123</script> 124<script src="../assets/js/docs.js?v=3" type="text/javascript"></script> 125 126 127 128<script> 129 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 130 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 131 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 132 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 133 134 ga('create', 'UA-5831155-1', 'android.com'); 135 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 136 ga('send', 'pageview'); 137 ga('universal.send', 'pageview'); // Send page view for new tracker. 138</script> 139 140</head> 141 142<body class="gc-documentation 143 develop reference"> 144 <a name="top"></a> 145 146 147<a name="top"></a> 148 149<!-- dialog to prompt lang pref change when loaded from hardcoded URL 150<div id="langMessage" style="display:none"> 151 <div> 152 <div class="lang en"> 153 <p>You requested a page in English, would you like to proceed with this language setting?</p> 154 </div> 155 <div class="lang es"> 156 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> 157 </div> 158 <div class="lang ja"> 159 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> 160 </div> 161 <div class="lang ko"> 162 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> 163 </div> 164 <div class="lang ru"> 165 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> 166 </div> 167 <div class="lang zh-cn"> 168 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> 169 </div> 170 <div class="lang zh-tw"> 171 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> 172 </div> 173 <a href="#" class="button yes" onclick="return false;"> 174 <span class="lang en">Yes</span> 175 <span class="lang es">Sí</span> 176 <span class="lang ja">Yes</span> 177 <span class="lang ko">Yes</span> 178 <span class="lang ru">Yes</span> 179 <span class="lang zh-cn">是的</span> 180 <span class="lang zh-tw">没有</span> 181 </a> 182 <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> 183 <span class="lang en">No</span> 184 <span class="lang es">No</span> 185 <span class="lang ja">No</span> 186 <span class="lang ko">No</span> 187 <span class="lang ru">No</span> 188 <span class="lang zh-cn">没有</span> 189 <span class="lang zh-tw">没有</span> 190 </a> 191 </div> 192</div> --> 193 194 195 <!-- Header --> 196 <div id="header-wrapper"> 197 <div id="header"> 198 199 200 201 202 <div class="wrap" id="header-wrap"> 203 <div class="col-3 logo"> 204 <a href="../index.html"> 205 <img src="../assets/images/dac_logo.png" 206 srcset="../assets/images/dac_logo@2x.png 2x" 207 width="123" height="25" alt="Android Developers" /> 208 </a> 209 <div class="btn-quicknav" id="btn-quicknav"> 210 <a href="#" class="arrow-inactive">Quicknav</a> 211 <a href="#" class="arrow-active">Quicknav</a> 212 </div> 213 </div> 214 <ul class="nav-x col-9"> 215 <li class="design"> 216 <a href="../design/index.html" 217 zh-tw-lang="設計" 218 zh-cn-lang="设计" 219 ru-lang="Проектирование" 220 ko-lang="디자인" 221 ja-lang="設計" 222 es-lang="Diseñar" 223 >Design</a></li> 224 <li class="develop"><a href="../develop/index.html" 225 zh-tw-lang="開發" 226 zh-cn-lang="开发" 227 ru-lang="Разработка" 228 ko-lang="개발" 229 ja-lang="開発" 230 es-lang="Desarrollar" 231 >Develop</a></li> 232 <li class="distribute last"><a href="../distribute/googleplay/index.html" 233 zh-tw-lang="發佈" 234 zh-cn-lang="分发" 235 ru-lang="Распространение" 236 ko-lang="배포" 237 ja-lang="配布" 238 es-lang="Distribuir" 239 >Distribute</a></li> 240 </ul> 241 242 243 244 245<div class="menu-container"> 246 <div class="moremenu"> 247 <div id="more-btn"></div> 248 </div> 249 <div class="morehover" id="moremenu"> 250 <div class="top"></div> 251 <div class="mid"> 252 <div class="header">Links</div> 253 <ul> 254 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> 255 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 256 <li><a href="../about/index.html">About Android</a></li> 257 </ul> 258 <div class="header">Android Sites</div> 259 <ul> 260 <li><a href="http://www.android.com">Android.com</a></li> 261 <li class="active"><a>Android Developers</a></li> 262 <li><a href="http://source.android.com">Android Open Source Project</a></li> 263 </ul> 264 265 266 267 268 <br class="clearfix" /> 269 </div><!-- end 'mid' --> 270 <div class="bottom"></div> 271 </div><!-- end 'moremenu' --> 272 273 <div class="search" id="search-container"> 274 <div class="search-inner"> 275 <div id="search-btn"></div> 276 <div class="left"></div> 277 <form onsubmit="return submit_search()"> 278 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 279 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 280 onkeydown="return search_changed(event, true, '../')" 281 onkeyup="return search_changed(event, false, '../')" /> 282 </form> 283 <div class="right"></div> 284 <a class="close hide">close</a> 285 <div class="left"></div> 286 <div class="right"></div> 287 </div><!-- end search-inner --> 288 </div><!-- end search-container --> 289 290 <div class="search_filtered_wrapper reference"> 291 <div class="suggest-card reference no-display"> 292 <ul class="search_filtered"> 293 </ul> 294 </div> 295 </div> 296 297 <div class="search_filtered_wrapper docs"> 298 <div class="suggest-card dummy no-display"> </div> 299 <div class="suggest-card develop no-display"> 300 <ul class="search_filtered"> 301 </ul> 302 <div class="child-card guides no-display"> 303 </div> 304 <div class="child-card training no-display"> 305 </div> 306 <div class="child-card samples no-display"> 307 </div> 308 </div> 309 <div class="suggest-card design no-display"> 310 <ul class="search_filtered"> 311 </ul> 312 </div> 313 <div class="suggest-card distribute no-display"> 314 <ul class="search_filtered"> 315 </ul> 316 </div> 317 </div> 318</div><!-- end menu-container (search and menu widget) --> 319 320 321 322 <!-- Expanded quicknav --> 323 <div id="quicknav" class="col-13"> 324 <ul> 325 <li class="about"> 326 <ul> 327 <li><a href="../about/index.html">About</a></li> 328 <li><a href="../wear/index.html">Wear</a></li> 329 <li><a href="../tv/index.html">TV</a></li> 330 <li><a href="../auto/index.html">Auto</a></li> 331 </ul> 332 </li> 333 <li class="design"> 334 <ul> 335 <li><a href="../design/index.html">Get Started</a></li> 336 <li><a href="../design/devices.html">Devices</a></li> 337 <li><a href="../design/style/index.html">Style</a></li> 338 <li><a href="../design/patterns/index.html">Patterns</a></li> 339 <li><a href="../design/building-blocks/index.html">Building Blocks</a></li> 340 <li><a href="../design/downloads/index.html">Downloads</a></li> 341 <li><a href="../design/videos/index.html">Videos</a></li> 342 </ul> 343 </li> 344 <li class="develop"> 345 <ul> 346 <li><a href="../training/index.html" 347 zh-tw-lang="訓練課程" 348 zh-cn-lang="培训" 349 ru-lang="Курсы" 350 ko-lang="교육" 351 ja-lang="トレーニング" 352 es-lang="Capacitación" 353 >Training</a></li> 354 <li><a href="../guide/index.html" 355 zh-tw-lang="API 指南" 356 zh-cn-lang="API 指南" 357 ru-lang="Руководства по API" 358 ko-lang="API 가이드" 359 ja-lang="API ガイド" 360 es-lang="Guías de la API" 361 >API Guides</a></li> 362 <li><a href="../reference/packages.html" 363 zh-tw-lang="參考資源" 364 zh-cn-lang="参考" 365 ru-lang="Справочник" 366 ko-lang="참조문서" 367 ja-lang="リファレンス" 368 es-lang="Referencia" 369 >Reference</a></li> 370 <li><a href="../sdk/index.html" 371 zh-tw-lang="相關工具" 372 zh-cn-lang="工具" 373 ru-lang="Инструменты" 374 ko-lang="도구" 375 ja-lang="ツール" 376 es-lang="Herramientas" 377 >Tools</a> 378 </li> 379 <li><a href="../google/index.html">Google Services</a> 380 </li> 381 382 </ul> 383 </li> 384 <li class="distribute last"> 385 <ul> 386 <li><a href="../distribute/googleplay/index.html">Google Play</a></li> 387 <li><a href="../distribute/essentials/index.html">Essentials</a></li> 388 <li><a href="../distribute/users/index.html">Get Users</a></li> 389 <li><a href="../distribute/engage/index.html">Engage & Retain</a></li> 390 <li><a href="../distribute/monetize/index.html">Monetize</a></li> 391 <li><a href="../distribute/tools/index.html">Tools & Reference</a></li> 392 <li><a href="../distribute/stories/index.html">Developer Stories</a></li> 393 </ul> 394 </li> 395 </ul> 396 </div><!-- /Expanded quicknav --> 397 </div><!-- end header-wrap.wrap --> 398 </div><!-- end header --> 399 400 401 <!-- Secondary x-nav --> 402 <div id="nav-x"> 403 <div class="wrap" style="position:relative;z-index:1"> 404 405 406 407 <a id="helpoutsLink" class="resource resource-card resource-card-6x2x3 resource-card-6x2 helpouts-card" 408 href="http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=dac&utm_medium=banner&utm_campaign=android_provider_banner3" target="_blank"> 409 <div class="card-bg helpouts-card-bg"></div> 410 <div class="card-info"> 411 <div class="helpouts-description"> 412 <div class="text">Help Android Wear and TV developers<br/> 413 <span id="helpoutsLinkText" class="link-color" 414 style="display:block;padding-top:5px;text-align:right">Learn more</span> 415 </div> 416 </div> 417 </div> 418 </a> 419 420 421 422 <ul class="nav-x col-9 develop" style="width:100%"> 423 <li class="training"><a href="../training/index.html" 424 zh-tw-lang="訓練課程" 425 zh-cn-lang="培训" 426 ru-lang="Курсы" 427 ko-lang="교육" 428 ja-lang="トレーニング" 429 es-lang="Capacitación" 430 >Training</a></li> 431 <li class="guide"><a href="../guide/index.html" 432 zh-tw-lang="API 指南" 433 zh-cn-lang="API 指南" 434 ru-lang="Руководства по API" 435 ko-lang="API 가이드" 436 ja-lang="API ガイド" 437 es-lang="Guías de la API" 438 >API Guides</a></li> 439 <li class="reference"><a href="../reference/packages.html" 440 zh-tw-lang="參考資源" 441 zh-cn-lang="参考" 442 ru-lang="Справочник" 443 ko-lang="참조문서" 444 ja-lang="リファレンス" 445 es-lang="Referencia" 446 >Reference</a></li> 447 <li class="tools"><a href="../sdk/index.html" 448 zh-tw-lang="相關工具" 449 zh-cn-lang="工具" 450 ru-lang="Инструменты" 451 ko-lang="도구" 452 ja-lang="ツール" 453 es-lang="Herramientas" 454 >Tools</a></li> 455 <li class="google"><a href="../google/index.html" 456 >Google Services</a> 457 </li> 458 459 </ul> 460 </div> 461 </div> 462 <!-- /Sendondary x-nav DEVELOP --> 463 464 465 466 <div id="searchResults" class="wrap" style="display:none;"> 467 <h2 id="searchTitle">Results</h2> 468 <div id="leftSearchControl" class="search-control">Loading...</div> 469 </div> 470 </div> <!--end header-wrapper --> 471 472 <div id="sticky-header"> 473 <div> 474 <a class="logo" href="#top"></a> 475 <a class="top" href="#top"></a> 476 <ul class="breadcrumb"> 477 478 <li class="current">Package Index</li> 479 </ul> 480 </div> 481 </div> 482 483 484 485 486 487 <div class="wrap clearfix" id="body-content"> 488 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 489 <div id="devdoc-nav"> 490 <div id="api-nav-header"> 491 <div id="api-level-toggle"> 492 <label for="apiLevelCheckbox" class="disabled" 493 title="Select your target API level to dim unavailable APIs">API level: </label> 494 <div class="select-wrapper"> 495 <select id="apiLevelSelector"> 496 <!-- option elements added by buildApiLevelSelector() --> 497 </select> 498 </div> 499 </div><!-- end toggle --> 500 <div id="api-nav-title">Android APIs</div> 501 </div><!-- end nav header --> 502 <script> 503 var SINCE_DATA = [ ]; 504 buildApiLevelSelector(); 505 </script> 506 507 <div id="swapper"> 508 <div id="nav-panels"> 509 <div id="resize-packages-nav"> 510 <div id="packages-nav" class="scroll-pane"> 511 512 <ul> 513 514 <li class="api apilevel-"> 515 <a href="../reference/android/support/wearable/package-summary.html">android.support.wearable</a></li> 516 <li class="api apilevel-"> 517 <a href="../reference/android/support/wearable/activity/package-summary.html">android.support.wearable.activity</a></li> 518 <li class="api apilevel-"> 519 <a href="../reference/android/support/wearable/companion/package-summary.html">android.support.wearable.companion</a></li> 520 <li class="api apilevel-"> 521 <a href="../reference/android/support/wearable/provider/package-summary.html">android.support.wearable.provider</a></li> 522 <li class="api apilevel-"> 523 <a href="../reference/android/support/wearable/view/package-summary.html">android.support.wearable.view</a></li> 524 <li class="api apilevel-"> 525 <a href="../reference/android/support/wearable/watchface/package-summary.html">android.support.wearable.watchface</a></li> 526 </ul><br/> 527 528 </div> <!-- end packages-nav --> 529 </div> <!-- end resize-packages --> 530 <div id="classes-nav" class="scroll-pane"> 531 532 533 534 <p style="padding:10px">Select a package to view its members</p><br/> 535 536 537 </div><!-- end classes --> 538 </div><!-- end nav-panels --> 539 <div id="nav-tree" style="display:none" class="scroll-pane"> 540 <div id="tree-list"></div> 541 </div><!-- end nav-tree --> 542 </div><!-- end swapper --> 543 <div id="nav-swap"> 544 <a class="fullscreen">fullscreen</a> 545 <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> 546 </div> 547 </div> <!-- end devdoc-nav --> 548 </div> <!-- end side-nav --> 549 <script type="text/javascript"> 550 // init fullscreen based on user pref 551 var fullscreen = readCookie("fullscreen"); 552 if (fullscreen != 0) { 553 if (fullscreen == "false") { 554 toggleFullscreen(false); 555 } else { 556 toggleFullscreen(true); 557 } 558 } 559 // init nav version for mobile 560 if (isMobile) { 561 swapNav(); // tree view should be used on mobile 562 $('#nav-swap').hide(); 563 } else { 564 chooseDefaultNav(); 565 if ($("#nav-tree").is(':visible')) { 566 init_default_navtree("../"); 567 } 568 } 569 // scroll the selected page into view 570 $(document).ready(function() { 571 scrollIntoView("packages-nav"); 572 scrollIntoView("classes-nav"); 573 }); 574 </script> 575 576 577 578 579 580<div class="col-12" id="doc-col"> 581 582<div id="jd-header"> 583<h1>Package Index</h1> 584</div> 585 586<div id="jd-content"><p style="border:2px solid #99ccff;padding:12px;margin-top:20px"><strong>Note:</strong> The Wearable Support Library classes under the <code>android.support.wearable</code> package are subject to change. For the full Android API reference, see <a href="/reference/">Reference</a>.</p> 587 588<div class="jd-descr"> 589<p></p> 590</div> 591 592 593<table class="jd-sumtable"> 594 595 <tr class="alt-color api apilevel-" > 596 <td class="jd-linkcol"> 597 <a href="../reference/android/support/wearable/package-summary.html">android.support.wearable</a></td> 598 <td class="jd-descrcol" width="100%"></td> 599 </tr> 600 601 602 <tr class=" api apilevel-" > 603 <td class="jd-linkcol"> 604 <a href="../reference/android/support/wearable/activity/package-summary.html">android.support.wearable.activity</a></td> 605 <td class="jd-descrcol" width="100%"></td> 606 </tr> 607 608 609 <tr class="alt-color api apilevel-" > 610 <td class="jd-linkcol"> 611 <a href="../reference/android/support/wearable/companion/package-summary.html">android.support.wearable.companion</a></td> 612 <td class="jd-descrcol" width="100%"></td> 613 </tr> 614 615 616 <tr class=" api apilevel-" > 617 <td class="jd-linkcol"> 618 <a href="../reference/android/support/wearable/provider/package-summary.html">android.support.wearable.provider</a></td> 619 <td class="jd-descrcol" width="100%"></td> 620 </tr> 621 622 623 <tr class="alt-color api apilevel-" > 624 <td class="jd-linkcol"> 625 <a href="../reference/android/support/wearable/view/package-summary.html">android.support.wearable.view</a></td> 626 <td class="jd-descrcol" width="100%"></td> 627 </tr> 628 629 630 <tr class=" api apilevel-" > 631 <td class="jd-linkcol"> 632 <a href="../reference/android/support/wearable/watchface/package-summary.html">android.support.wearable.watchface</a></td> 633 <td class="jd-descrcol" width="100%"></td> 634 </tr> 635 636 637</table> 638 639<div id="footer" class="wrap" > 640 641 642 <div id="copyright"> 643 644 Except as noted, this content is licensed under <a 645 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 646 For details and restrictions, see the <a href="../license.html"> 647 Content License</a>. 648 </div> 649 <div id="build_info"> 650 651 Android Wearable Support r — 652<script src="../timestamp.js" type="text/javascript"></script> 653<script>document.write(BUILD_TIMESTAMP)</script> 654 655 </div> 656 657 658 <div id="footerlinks"> 659 660 <p> 661 <a href="../about/index.html">About Android</a> | 662 <a href="../legal.html">Legal</a> | 663 <a href="../support.html">Support</a> 664 </p> 665 </div> 666 667</div> <!-- end footer --> 668</div><!-- end jd-content --> 669</div> <!-- end doc-content --> 670 671</div> <!-- end body-content --> 672 673 674 675 676 677 678</body> 679</html> 680