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 98 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>Releasable | Android Developers</title> 108 109<!-- STYLESHEETS --> 110<link rel="stylesheet" 111href="//fonts.googleapis.com/css?family=Roboto+Condensed"> 112<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 113 title="roboto"> 114<link href="/assets/css/default.css?v=4" rel="stylesheet" type="text/css"> 115 116 117 118<!-- JAVASCRIPT --> 119<script src="//www.google.com/jsapi" type="text/javascript"></script> 120<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> 121<script type="text/javascript"> 122 var toRoot = "/"; 123 var metaTags = []; 124 var devsite = false; 125</script> 126<script src="/assets/js/docs.js?v=3" type="text/javascript"></script> 127 128 129 130<script> 131 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 132 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 133 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 134 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 135 136 ga('create', 'UA-5831155-1', 'android.com'); 137 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 138 ga('send', 'pageview'); 139 ga('universal.send', 'pageview'); // Send page view for new tracker. 140</script> 141 142</head> 143 144<body class="gc-documentation google 145 develop reference" itemscope itemtype="http://schema.org/Article"> 146 <div id="doc-api-level" class="" style="display:none"></div> 147 <a name="top"></a> 148 149 150<a name="top"></a> 151 152<!-- dialog to prompt lang pref change when loaded from hardcoded URL 153<div id="langMessage" style="display:none"> 154 <div> 155 <div class="lang en"> 156 <p>You requested a page in English, would you like to proceed with this language setting?</p> 157 </div> 158 <div class="lang es"> 159 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> 160 </div> 161 <div class="lang ja"> 162 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> 163 </div> 164 <div class="lang ko"> 165 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> 166 </div> 167 <div class="lang ru"> 168 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> 169 </div> 170 <div class="lang zh-cn"> 171 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> 172 </div> 173 <div class="lang zh-tw"> 174 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> 175 </div> 176 <a href="#" class="button yes" onclick="return false;"> 177 <span class="lang en">Yes</span> 178 <span class="lang es">Sí</span> 179 <span class="lang ja">Yes</span> 180 <span class="lang ko">Yes</span> 181 <span class="lang ru">Yes</span> 182 <span class="lang zh-cn">是的</span> 183 <span class="lang zh-tw">没有</span> 184 </a> 185 <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> 186 <span class="lang en">No</span> 187 <span class="lang es">No</span> 188 <span class="lang ja">No</span> 189 <span class="lang ko">No</span> 190 <span class="lang ru">No</span> 191 <span class="lang zh-cn">没有</span> 192 <span class="lang zh-tw">没有</span> 193 </a> 194 </div> 195</div> --> 196 197 198 <!-- Header --> 199 <div id="header-wrapper"> 200 <div id="header"> 201 202 203 204 205 <div class="wrap" id="header-wrap"> 206 <div class="col-3 logo"> 207 <a href="/index.html"> 208 <img src="/assets/images/dac_logo.png" 209 srcset="/assets/images/dac_logo@2x.png 2x" 210 width="123" height="25" alt="Android Developers" /> 211 </a> 212 <div class="btn-quicknav" id="btn-quicknav"> 213 <a href="#" class="arrow-inactive">Quicknav</a> 214 <a href="#" class="arrow-active">Quicknav</a> 215 </div> 216 </div> 217 <ul class="nav-x col-9"> 218 <li class="design"> 219 <a href="/design/index.html" 220 zh-tw-lang="設計" 221 zh-cn-lang="设计" 222 ru-lang="Проектирование" 223 ko-lang="디자인" 224 ja-lang="設計" 225 es-lang="Diseñar" 226 >Design</a></li> 227 <li class="develop"><a href="/develop/index.html" 228 zh-tw-lang="開發" 229 zh-cn-lang="开发" 230 ru-lang="Разработка" 231 ko-lang="개발" 232 ja-lang="開発" 233 es-lang="Desarrollar" 234 >Develop</a></li> 235 <li class="distribute last"><a href="/distribute/index.html" 236 zh-tw-lang="發佈" 237 zh-cn-lang="分发" 238 ru-lang="Распространение" 239 ko-lang="배포" 240 ja-lang="配布" 241 es-lang="Distribuir" 242 >Distribute</a></li> 243 </ul> 244 245 246 247 248<div class="menu-container"> 249 <div class="moremenu"> 250 <div id="more-btn"></div> 251 </div> 252 <div class="morehover" id="moremenu"> 253 <div class="top"></div> 254 <div class="mid"> 255 <div class="header">Links</div> 256 <ul> 257 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> 258 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 259 <li><a href="/about/index.html">About Android</a></li> 260 </ul> 261 <div class="header">Android Sites</div> 262 <ul> 263 <li><a href="http://www.android.com">Android.com</a></li> 264 <li class="active"><a>Android Developers</a></li> 265 <li><a href="http://source.android.com">Android Open Source Project</a></li> 266 </ul> 267 268 269 270 <div class="header">Language</div> 271 <div id="language" class="locales"> 272 <select name="language" onChange="changeLangPref(this.value, true)"> 273 <option value="en">English</option> 274 <option value="es">Español</option> 275 <option value="ja">日本語</option> 276 <option value="ko">한국어</option> 277 <option value="ru">Русский</option> 278 <option value="zh-cn">中文(简体)</option> 279 <option value="zh-tw">中文(繁體)</option> 280 </select> 281 </div> 282 <script type="text/javascript"> 283 <!-- 284 loadLangPref(); 285 //--> 286 </script> 287 288 289 <br class="clearfix" /> 290 </div><!-- end 'mid' --> 291 <div class="bottom"></div> 292 </div><!-- end 'moremenu' --> 293 294 <div class="search" id="search-container"> 295 <div class="search-inner"> 296 <div id="search-btn"></div> 297 <div class="left"></div> 298 <form onsubmit="return submit_search()"> 299 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 300 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 301 onkeydown="return search_changed(event, true, '/')" 302 onkeyup="return search_changed(event, false, '/')" /> 303 </form> 304 <div class="right"></div> 305 <a class="close hide">close</a> 306 <div class="left"></div> 307 <div class="right"></div> 308 </div><!-- end search-inner --> 309 </div><!-- end search-container --> 310 311 <div class="search_filtered_wrapper reference"> 312 <div class="suggest-card reference no-display"> 313 <ul class="search_filtered"> 314 </ul> 315 </div> 316 </div> 317 318 <div class="search_filtered_wrapper docs"> 319 <div class="suggest-card dummy no-display"> </div> 320 <div class="suggest-card develop no-display"> 321 <ul class="search_filtered"> 322 </ul> 323 <div class="child-card guides no-display"> 324 </div> 325 <div class="child-card training no-display"> 326 </div> 327 <div class="child-card samples no-display"> 328 </div> 329 </div> 330 <div class="suggest-card design no-display"> 331 <ul class="search_filtered"> 332 </ul> 333 </div> 334 <div class="suggest-card distribute no-display"> 335 <ul class="search_filtered"> 336 </ul> 337 </div> 338 </div> 339</div><!-- end menu-container (search and menu widget) --> 340 341 342 343 <!-- Expanded quicknav --> 344 <div id="quicknav" class="col-13"> 345 <ul> 346 <li class="about"> 347 <ul> 348 <li><a href="/about/index.html">About</a></li> 349 <li><a href="/wear/index.html">Wear</a></li> 350 <li><a href="/tv/index.html">TV</a></li> 351 <li><a href="/auto/index.html">Auto</a></li> 352 </ul> 353 </li> 354 <li class="design"> 355 <ul> 356 <li><a href="/design/index.html">Get Started</a></li> 357 <li><a href="/design/devices.html">Devices</a></li> 358 <li><a href="/design/style/index.html">Style</a></li> 359 <li><a href="/design/patterns/index.html">Patterns</a></li> 360 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> 361 <li><a href="/design/downloads/index.html">Downloads</a></li> 362 <li><a href="/design/videos/index.html">Videos</a></li> 363 </ul> 364 </li> 365 <li class="develop"> 366 <ul> 367 <li><a href="/training/index.html" 368 zh-tw-lang="訓練課程" 369 zh-cn-lang="培训" 370 ru-lang="Курсы" 371 ko-lang="교육" 372 ja-lang="トレーニング" 373 es-lang="Capacitación" 374 >Training</a></li> 375 <li><a href="/guide/index.html" 376 zh-tw-lang="API 指南" 377 zh-cn-lang="API 指南" 378 ru-lang="Руководства по API" 379 ko-lang="API 가이드" 380 ja-lang="API ガイド" 381 es-lang="Guías de la API" 382 >API Guides</a></li> 383 <li><a href="/reference/packages.html" 384 zh-tw-lang="參考資源" 385 zh-cn-lang="参考" 386 ru-lang="Справочник" 387 ko-lang="참조문서" 388 ja-lang="リファレンス" 389 es-lang="Referencia" 390 >Reference</a></li> 391 <li><a href="/sdk/index.html" 392 zh-tw-lang="相關工具" 393 zh-cn-lang="工具" 394 ru-lang="Инструменты" 395 ko-lang="도구" 396 ja-lang="ツール" 397 es-lang="Herramientas" 398 >Tools</a> 399 </li> 400 <li><a href="/google/index.html">Google Services</a> 401 </li> 402 403 <li><a href="/samples/index.html">Samples</a> 404 </li> 405 406 </ul> 407 </li> 408 <li class="distribute last"> 409 <ul> 410 <li><a href="/distribute/googleplay/index.html">Google Play</a></li> 411 <li><a href="/distribute/essentials/index.html">Essentials</a></li> 412 <li><a href="/distribute/users/index.html">Get Users</a></li> 413 <li><a href="/distribute/engage/index.html">Engage & Retain</a></li> 414 <li><a href="/distribute/monetize/index.html">Monetize</a></li> 415 <li><a href="/distribute/tools/index.html">Tools & Reference</a></li> 416 <li><a href="/distribute/stories/index.html">Developer Stories</a></li> 417 </ul> 418 </li> 419 </ul> 420 </div><!-- /Expanded quicknav --> 421 </div><!-- end header-wrap.wrap --> 422 </div><!-- end header --> 423 424 425 <!-- Secondary x-nav --> 426 <div id="nav-x"> 427 <div class="wrap" style="position:relative;z-index:1"> 428 429 430 431 432 433 <ul class="nav-x col-9 develop" style="width:100%"> 434 <li class="training"><a href="/training/index.html" 435 zh-tw-lang="訓練課程" 436 zh-cn-lang="培训" 437 ru-lang="Курсы" 438 ko-lang="교육" 439 ja-lang="トレーニング" 440 es-lang="Capacitación" 441 >Training</a></li> 442 <li class="guide"><a href="/guide/index.html" 443 zh-tw-lang="API 指南" 444 zh-cn-lang="API 指南" 445 ru-lang="Руководства по API" 446 ko-lang="API 가이드" 447 ja-lang="API ガイド" 448 es-lang="Guías de la API" 449 >API Guides</a></li> 450 <li class="reference"><a href="/reference/packages.html" 451 zh-tw-lang="參考資源" 452 zh-cn-lang="参考" 453 ru-lang="Справочник" 454 ko-lang="참조문서" 455 ja-lang="リファレンス" 456 es-lang="Referencia" 457 >Reference</a></li> 458 <li class="tools"><a href="/sdk/index.html" 459 zh-tw-lang="相關工具" 460 zh-cn-lang="工具" 461 ru-lang="Инструменты" 462 ko-lang="도구" 463 ja-lang="ツール" 464 es-lang="Herramientas" 465 >Tools</a></li> 466 <li class="google"><a href="/google/index.html" 467 >Google Services</a> 468 </li> 469 470 <li class="samples"><a href="/samples/index.html" 471 >Samples</a> 472 </li> 473 474 </ul> 475 </div> 476 </div> 477 <!-- /Sendondary x-nav DEVELOP --> 478 479 480 481 <div id="searchResults" class="wrap" style="display:none;"> 482 <h2 id="searchTitle">Results</h2> 483 <div id="leftSearchControl" class="search-control">Loading...</div> 484 </div> 485 </div> <!--end header-wrapper --> 486 487 <div id="sticky-header"> 488 <div> 489 <a class="logo" href="#top"></a> 490 <a class="top" href="#top"></a> 491 <ul class="breadcrumb"> 492 493 <li class="current">Releasable</li> 494 </ul> 495 </div> 496 </div> 497 498 499 500 501 502 503 <div class="wrap clearfix" id="body-content"> 504 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 505 <div id="devdoc-nav" class="scroll-pane"> 506 507 508 509<ul id="nav"> 510 511 <li class="nav-section"> 512 <div class="nav-section-header empty"><a href="/google/index.html"> 513 <span class="en">Overview</span> 514 </a></div> 515 </li> 516 517 <li class="nav-section"> 518 <div class="nav-section-header empty"><a href="/google/play-services/games.html"> 519 <span class="en">Games</span> 520 </a></div> 521 </li> 522 <li class="nav-section"> 523 <div class="nav-section-header empty"><a href="/google/play-services/location.html"> 524 <span class="en">Location</span> 525 </a></div> 526 </li> 527 <li class="nav-section"> 528 <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> 529 <span class="en">Google+</span> 530 </a></div> 531 </li> 532 <li class="nav-section"> 533 <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> 534 <span class="en">Maps</span> 535 </a></div> 536 </li> 537 <li class="nav-section"> 538 <div class="nav-section-header empty"><a href="/google/play-services/drive.html"> 539 <span class="en">Drive</span> 540 </a></div> 541 </li> 542 <li class="nav-section"> 543 <div class="nav-section-header empty"><a href="/google/play-services/cast.html"> 544 <span class="en">Cast</span> 545 </a></div> 546 </li> 547 <li class="nav-section"> 548 <div class="nav-section-header"><a href="/google/play-services/ads.html"> 549 <span class="en">Ads</span></a> 550 </div> 551 <ul> 552 <li><a href="/google/play-services/id.html"> 553 <span class="en">Advertising ID</span></a> 554 </li> 555 </ul> 556 </li> 557 <li class="nav-section"> 558 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> 559 <span class="en">Wallet</span> 560 </a></div> 561 </li> 562 563 564 <li class="nav-section"> 565 <div class="nav-section-header"><a href="/google/play-services/index.html"> 566 <span class="en">Google Play Services</span></a> 567 </div> 568 <ul> 569 <li><a href="/google/play-services/setup.html"> 570 <span class="en">Setting Up Google Play Services</span></a> 571 </li> 572 <li class="nav-section"> 573 <div class="nav-section-header"><a href="/google/auth/api-client.html"> 574 <span class="en">Accessing Google APIs</span></a> 575 </div> 576 <ul> 577 <li> 578 <a href="/google/auth/http-auth.html"> 579 <span class="en">Authorizing with Google for REST APIs</span> 580 </a> 581 </li> 582 </ul> 583 </li> 584 <li id="gms-tree-list" class="nav-section"> 585 <div class="nav-section-header"> 586 <a href="/reference/gms-packages.html"> 587 <span class="en">Reference</span> 588 </a> 589 <div> 590 </li> 591 </ul> 592 </li> 593 594 595 <li class="nav-section"> 596 <div class="nav-section-header"><a href="/google/play/billing/index.html"> 597 <span class="en">Google Play In-app Billing</span></a> 598 </div> 599 <ul> 600 <li><a href="/google/play/billing/billing_overview.html"> 601 <span class="en">Overview</span></a> 602 </li> 603 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html"> 604 <span class="en">Version 3 API</span></a></div> 605 <ul> 606 <li><a href="/google/play/billing/billing_integrate.html"> 607 <span class="en">Implementing the API</span></a></li> 608 <li><a href="/google/play/billing/billing_reference.html"> 609 <span class="en">Reference</span></a></li> 610 </ul> 611 </li> 612 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> 613 <span class="en">Version 2 API</span></a></div> 614 <ul> 615 <li><a href="/google/play/billing/v2/billing_integrate.html"> 616 <span class="en">Implementing the API</span></a></li> 617 <li><a href="/google/play/billing/v2/billing_subscriptions.html"> 618 <span class="en">Subscriptions</span></a></li> 619 <li><a href="/google/play/billing/v2/billing_reference.html"> 620 <span class="en">Reference</span></a></li> 621 </ul> 622 </li> 623 <li><a href="/google/play/billing/billing_subscriptions.html"> 624 <span class="en">Subscriptions</span></a> 625 </li> 626 <li><a href="/google/play/billing/billing_best_practices.html"> 627 <span class="en">Security and Design</span></a> 628 </li> 629 <li><a href="/google/play/billing/billing_testing.html"> 630 <span class="en">Testing In-app Billing</span></a> 631 </li> 632 <li><a href="/google/play/billing/billing_admin.html"> 633 <span class="en">Administering In-app Billing</span></a> 634 </li> 635 <li><a href="/google/play/billing/versions.html"> 636 <span class="en">Version Notes</span></a> 637 </li> 638 </ul> 639 </li> 640 641 642 643 <li class="nav-section"> 644 <div class="nav-section-header"><a href="/google/gcm/index.html"> 645 <span class="en">Google Cloud Messaging</span></a> 646 </div> 647 <ul> 648 <li><a href="/google/gcm/gcm.html"> 649 <span class="en">Overview</span></a> 650 </li> 651 <li><a href="/google/gcm/gs.html"> 652 <span class="en">Getting Started</span></a> 653 </li> 654 <li><a href="/google/gcm/client.html"> 655 <span class="en">Implementing GCM Client</span></a> 656 </li> 657 <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html"> 658 <span class="en">Implementing GCM Server</span></a></div> 659 <ul> 660 <li><a href="/google/gcm/ccs.html"> 661 <span class="en">CCS (XMPP)</span></a></li> 662 <li><a href="/google/gcm/http.html"> 663 <span class="en">HTTP</span></a></li> 664 </ul> 665 </li> 666 <li><a href="/google/gcm/notifications.html"> 667 <span class="en">User Notifications</span></a> 668 </li> 669 <li><a href="/google/gcm/adv.html"> 670 <span class="en">Advanced Topics</span></a> 671 </li> 672 <li><a href="/google/gcm/c2dm.html"> 673 <span class="en">Migration</span></a> 674 </li> 675 <li id="gcm-tree-list" class="nav-section"> 676 <div class="nav-section-header"> 677 <a href="/reference/gcm-packages.html"> 678 <span class="en">Reference</span> 679 </a> 680 <div> 681 </li> 682 </ul> 683 </li> 684 685 <li class="nav-section"> 686 <div class="nav-section-header empty"><a href="/google/gcs/index.html"> 687 <span class="en">Google Cloud Save</span></a> 688 </div> 689 </li> 690 691 <li class="nav-section"> 692 <div class="nav-section-header"><a href="/google/play/dist.html"> 693 <span class="en">Google Play Distribution</span></a> 694 </div> 695 <ul> 696 <li><a href="/google/play/filters.html"> 697 <span class="en">Filters on Google Play</span></a> 698 </li> 699 <li><a href="/google/play/billing/gp-purchase-status-api.html"> 700 <span class="en">Google Play Developer API</span></a> 701 </li> 702 <li><a href="/google/play/publishing/multiple-apks.html"> 703 <span class="en">Multiple APK Support</span></a> 704 </li> 705 <li><a href="/google/play/expansion-files.html"> 706 <span class="en">APK Expansion Files</span></a> 707 </li> 708 <li class="nav-section"> 709 <div class="nav-section-header"><a href="/google/play/licensing/index.html"> 710 <span class="en">Application Licensing</span></a> 711 </div> 712 <ul> 713 <li><a href="/google/play/licensing/overview.html"> 714 <span class="en">Licensing Overview</span></a> 715 </li> 716 <li><a href="/google/play/licensing/setting-up.html"> 717 <span class="en">Setting Up for Licensing</span></a> 718 </li> 719 <li><a href="/google/play/licensing/adding-licensing.html"> 720 <span class="en">Adding Licensing to Your App</span></a> 721 </li> 722 <li><a href="/google/play/licensing/licensing-reference.html"> 723 <span class="en">Licensing Reference</span></a> 724 </li> 725 </ul> 726 </li> 727 728 <li class="nav-section"> 729 <div class="nav-section-header"><a href="/google/backup/index.html"> 730 Android Backup Service</a> 731 </div> 732 <ul> 733 <li><a href="/google/backup/signup.html"> 734 Register</a> 735 </li> 736 </ul> 737 </li> 738 739 </ul> 740 741</li> 742 743 744 745</ul> 746 747<script type="text/javascript"> 748<!-- 749 buildToggleLists(); 750 changeNavLang(getLangPref()); 751//--> 752</script> 753 754 755 756 757 </div> 758 <script type="text/javascript"> 759 showGoogleRefTree(); 760 761 </script> 762 </div> <!-- end side-nav --> 763 <script> 764 $(document).ready(function() { 765 scrollIntoView("devdoc-nav"); 766 }); 767 </script> 768 769 770 771 772 773 774<div class="col-12" id="doc-col"> 775 776<div id="api-info-block"> 777 778 779 780 781<div class="sum-details-links"> 782 783Summary: 784 785 786 787 788 789 790 791 792 793 794 795 <a href="#pubmethods">Methods</a> 796 797 798 799 800| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 801 802</div><!-- end sum-details-links --> 803<div class="api-level"> 804 805 806 807 808</div> 809</div><!-- end api-info-block --> 810 811 812<!-- ======== START OF CLASS DATA ======== --> 813 814<div id="jd-header"> 815 public 816 817 818 819 interface 820<h1 itemprop="name">Releasable</h1> 821 822 823 824 825 826 827 828 829 830 831 832</div><!-- end header --> 833 834<div id="naMessage"></div> 835 836<div id="jd-content" class="api apilevel-"> 837<table class="jd-inheritance-table"> 838 839 840 <tr> 841 842 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.common.api.Releasable</td> 843 </tr> 844 845 846</table> 847 848 849 850 851 852 853<table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;"> 854 855 <a href="#" onclick="return toggleInherited(this, null)" id="subclasses-indirect" class="jd-expando-trigger closed" 856 ><img id="subclasses-indirect-trigger" 857 src="/assets/images/triangle-closed.png" 858 class="jd-expando-trigger-img" /></a>Known Indirect Subclasses 859 860 <div id="subclasses-indirect"> 861 <div id="subclasses-indirect-list" 862 class="jd-inheritedlinks" 863 864 > 865 866 867 868 869 <a href="/reference/com/google/android/gms/games/achievement/AchievementBuffer.html">AchievementBuffer</a>, 870 871 872 873 874 <a href="/reference/com/google/android/gms/games/achievement/Achievements.LoadAchievementsResult.html">Achievements.LoadAchievementsResult</a>, 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 <a href="/reference/com/google/android/gms/appstate/AppStateBuffer.html">AppStateBuffer</a>, 895 896 897 898 899 <a href="/reference/com/google/android/gms/appstate/AppStateManager.StateConflictResult.html">AppStateManager.StateConflictResult</a>, 900 901 902 903 904 <a href="/reference/com/google/android/gms/appstate/AppStateManager.StateLoadedResult.html">AppStateManager.StateLoadedResult</a>, 905 906 907 908 909 <a href="/reference/com/google/android/gms/appstate/AppStateManager.StateResult.html">AppStateManager.StateResult</a>, 910 911 912 913 914 915 916 917 918 919 920 921 922 923 and 924 <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">26 others.</a> 925 926 927 928 </div> 929 <div id="subclasses-indirect-summary" 930 style="display: none;" 931 > 932 933 <table class="jd-sumtable-expando"> 934 935 <tr class="alt-color api apilevel-" > 936 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/achievement/AchievementBuffer.html">AchievementBuffer</a></td> 937 <td class="jd-descrcol" width="100%"> 938 Data structure providing access to a list of achievements. 939 940 941 942 </td> 943 </tr> 944 945 946 <tr class=" api apilevel-" > 947 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/achievement/Achievements.LoadAchievementsResult.html">Achievements.LoadAchievementsResult</a></td> 948 <td class="jd-descrcol" width="100%"> 949 Result delivered when achievement data has been loaded. 950 951 952 953 </td> 954 </tr> 955 956 957 <tr class="alt-color api apilevel-" > 958 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/appstate/AppStateBuffer.html">AppStateBuffer</a></td> 959 <td class="jd-descrcol" width="100%"> 960 Data structure providing access to a list of app states. 961 962 963 964 </td> 965 </tr> 966 967 968 <tr class=" api apilevel-" > 969 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/appstate/AppStateManager.StateConflictResult.html">AppStateManager.StateConflictResult</a></td> 970 <td class="jd-descrcol" width="100%"> 971 Result retrieved from <code><a href="/reference/com/google/android/gms/appstate/AppStateManager.StateResult.html">AppStateManager.StateResult</a></code> when a conflict is detected while loading app 972 state. 973 974 975 976 </td> 977 </tr> 978 979 980 <tr class="alt-color api apilevel-" > 981 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/appstate/AppStateManager.StateLoadedResult.html">AppStateManager.StateLoadedResult</a></td> 982 <td class="jd-descrcol" width="100%"> 983 Result retrieved from <code><a href="/reference/com/google/android/gms/appstate/AppStateManager.StateResult.html">AppStateManager.StateResult</a></code> when app state data has been loaded successfully. 984 985 986 987 </td> 988 </tr> 989 990 991 <tr class=" api apilevel-" > 992 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/appstate/AppStateManager.StateResult.html">AppStateManager.StateResult</a></td> 993 <td class="jd-descrcol" width="100%"> 994 Result of an operation that could potentially generate a state conflict. 995 996 997 998 </td> 999 </tr> 1000 1001 1002 <tr class="alt-color api apilevel-" > 1003 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></td> 1004 <td class="jd-descrcol" width="100%"> 1005 Holder for an active container. 1006 1007 1008 1009 </td> 1010 </tr> 1011 1012 1013 <tr class=" api apilevel-" > 1014 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataApi.GetFdForAssetResult.html">DataApi.GetFdForAssetResult</a></td> 1015 <td class="jd-descrcol" width="100%"> 1016 Contains a file descriptor for the requested asset. 1017 1018 1019 1020 </td> 1021 </tr> 1022 1023 1024 <tr class="alt-color api apilevel-" > 1025 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a><T></td> 1026 <td class="jd-descrcol" width="100%"> 1027 Base class for a buffer of typed data. 1028 1029 1030 1031 </td> 1032 </tr> 1033 1034 1035 <tr class=" api apilevel-" > 1036 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataEventBuffer.html">DataEventBuffer</a></td> 1037 <td class="jd-descrcol" width="100%"> 1038 Data structure holding references to a set of events. 1039 1040 1041 1042 </td> 1043 </tr> 1044 1045 1046 <tr class="alt-color api apilevel-" > 1047 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataItemBuffer.html">DataItemBuffer</a></td> 1048 <td class="jd-descrcol" width="100%"> 1049 Data structure holding reference to a set of <code><a href="/reference/com/google/android/gms/wearable/DataItem.html">DataItem</a></code>s. 1050 1051 1052 1053 </td> 1054 </tr> 1055 1056 1057 <tr class=" api apilevel-" > 1058 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/deviceconnection/features/DeviceFeatureBuffer.html">DeviceFeatureBuffer</a></td> 1059 <td class="jd-descrcol" width="100%"> 1060 Data structure providing access to a list of <code><a href="/reference/com/google/android/gms/deviceconnection/features/DeviceFeature.html">DeviceFeature</a></code> objects. 1061 1062 1063 1064 </td> 1065 </tr> 1066 1067 1068 <tr class="alt-color api apilevel-" > 1069 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/event/EventBuffer.html">EventBuffer</a></td> 1070 <td class="jd-descrcol" width="100%"> 1071 Data structure providing access to a list of events. 1072 1073 1074 1075 </td> 1076 </tr> 1077 1078 1079 <tr class=" api apilevel-" > 1080 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/event/Events.LoadEventsResult.html">Events.LoadEventsResult</a></td> 1081 <td class="jd-descrcol" width="100%"> 1082 Result delivered when event data has been loaded. 1083 1084 1085 1086 </td> 1087 </tr> 1088 1089 1090 <tr class="alt-color api apilevel-" > 1091 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/GameBuffer.html">GameBuffer</a></td> 1092 <td class="jd-descrcol" width="100%"> 1093 Data structure providing access to a list of games. 1094 1095 1096 1097 </td> 1098 </tr> 1099 1100 1101 <tr class=" api apilevel-" > 1102 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/request/GameRequestBuffer.html">GameRequestBuffer</a></td> 1103 <td class="jd-descrcol" width="100%"> 1104 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing Request details. 1105 1106 1107 1108 </td> 1109 </tr> 1110 1111 1112 <tr class="alt-color api apilevel-" > 1113 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/GamesMetadata.LoadGamesResult.html">GamesMetadata.LoadGamesResult</a></td> 1114 <td class="jd-descrcol" width="100%"> 1115 Result delivered when game metadata has been loaded. 1116 1117 1118 1119 </td> 1120 </tr> 1121 1122 1123 <tr class=" api apilevel-" > 1124 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html">InvitationBuffer</a></td> 1125 <td class="jd-descrcol" width="100%"> 1126 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing Invitation data. 1127 1128 1129 1130 </td> 1131 </tr> 1132 1133 1134 <tr class="alt-color api apilevel-" > 1135 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/Invitations.LoadInvitationsResult.html">Invitations.LoadInvitationsResult</a></td> 1136 <td class="jd-descrcol" width="100%"> 1137 Result delivered when invitations have been loaded. 1138 1139 1140 1141 </td> 1142 </tr> 1143 1144 1145 <tr class=" api apilevel-" > 1146 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html">LeaderboardBuffer</a></td> 1147 <td class="jd-descrcol" width="100%"> 1148 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> containing Leaderboard data. 1149 1150 1151 1152 </td> 1153 </tr> 1154 1155 1156 <tr class="alt-color api apilevel-" > 1157 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html">LeaderboardScoreBuffer</a></td> 1158 <td class="jd-descrcol" width="100%"> 1159 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> containing LeaderboardScore data. 1160 1161 1162 1163 </td> 1164 </tr> 1165 1166 1167 <tr class=" api apilevel-" > 1168 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.LeaderboardMetadataResult.html">Leaderboards.LeaderboardMetadataResult</a></td> 1169 <td class="jd-descrcol" width="100%"> 1170 Result delivered when leaderboard metadata has been loaded. 1171 1172 1173 1174 </td> 1175 </tr> 1176 1177 1178 <tr class="alt-color api apilevel-" > 1179 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.LoadScoresResult.html">Leaderboards.LoadScoresResult</a></td> 1180 <td class="jd-descrcol" width="100%"> 1181 Result delivered when leaderboard scores have been loaded. 1182 1183 1184 1185 </td> 1186 </tr> 1187 1188 1189 <tr class=" api apilevel-" > 1190 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.SubmitScoreResult.html">Leaderboards.SubmitScoreResult</a></td> 1191 <td class="jd-descrcol" width="100%"> 1192 Result delivered when a leaderboard score has been submitted. 1193 1194 1195 1196 </td> 1197 </tr> 1198 1199 1200 <tr class="alt-color api apilevel-" > 1201 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/MetadataBuffer.html">MetadataBuffer</a></td> 1202 <td class="jd-descrcol" width="100%"> 1203 A data buffer that points to Metadata entries. 1204 1205 1206 1207 </td> 1208 </tr> 1209 1210 1211 <tr class=" api apilevel-" > 1212 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/MilestoneBuffer.html">MilestoneBuffer</a></td> 1213 <td class="jd-descrcol" width="100%"> 1214 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing quest 1215 milestone data. 1216 1217 1218 1219 </td> 1220 </tr> 1221 1222 1223 <tr class="alt-color api apilevel-" > 1224 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/moments/MomentBuffer.html">MomentBuffer</a></td> 1225 <td class="jd-descrcol" width="100%"> 1226 Data structure providing access to a list of <code><a href="/reference/com/google/android/gms/plus/model/moments/Moment.html">Moment</a></code> objects. 1227 1228 1229 1230 </td> 1231 </tr> 1232 1233 1234 <tr class=" api apilevel-" > 1235 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/Moments.LoadMomentsResult.html">Moments.LoadMomentsResult</a></td> 1236 <td class="jd-descrcol" width="100%"> 1237 Information about the set of moments that was loaded. 1238 1239 1240 1241 </td> 1242 </tr> 1243 1244 1245 <tr class="alt-color api apilevel-" > 1246 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html">ParticipantBuffer</a></td> 1247 <td class="jd-descrcol" width="100%"> 1248 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing match participant data. 1249 1250 1251 1252 </td> 1253 </tr> 1254 1255 1256 <tr class=" api apilevel-" > 1257 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/People.LoadPeopleResult.html">People.LoadPeopleResult</a></td> 1258 <td class="jd-descrcol" width="100%"> 1259 Information about the set of people that was loaded. 1260 1261 1262 1263 </td> 1264 </tr> 1265 1266 1267 <tr class="alt-color api apilevel-" > 1268 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/PersonBuffer.html">PersonBuffer</a></td> 1269 <td class="jd-descrcol" width="100%"> 1270 Data structure providing access to a list of <code><a href="/reference/com/google/android/gms/plus/model/people/Person.html">Person</a></code> objects. 1271 1272 1273 1274 </td> 1275 </tr> 1276 1277 1278 <tr class=" api apilevel-" > 1279 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/PlayerBuffer.html">PlayerBuffer</a></td> 1280 <td class="jd-descrcol" width="100%"> 1281 Data structure providing access to a list of players. 1282 1283 1284 1285 </td> 1286 </tr> 1287 1288 1289 <tr class="alt-color api apilevel-" > 1290 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/Players.LoadPlayersResult.html">Players.LoadPlayersResult</a></td> 1291 <td class="jd-descrcol" width="100%"> 1292 Result delivered when player data has been loaded. 1293 1294 1295 1296 </td> 1297 </tr> 1298 1299 1300 <tr class=" api apilevel-" > 1301 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/QuestBuffer.html">QuestBuffer</a></td> 1302 <td class="jd-descrcol" width="100%"> 1303 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing Quest details. 1304 1305 1306 1307 </td> 1308 </tr> 1309 1310 1311 <tr class="alt-color api apilevel-" > 1312 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quests.LoadQuestsResult.html">Quests.LoadQuestsResult</a></td> 1313 <td class="jd-descrcol" width="100%"> 1314 Result delivered when quest data has been loaded. 1315 1316 1317 1318 </td> 1319 </tr> 1320 1321 1322 <tr class=" api apilevel-" > 1323 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/request/Requests.LoadRequestsResult.html">Requests.LoadRequestsResult</a></td> 1324 <td class="jd-descrcol" width="100%"> 1325 Result delivered when requests have loaded. 1326 1327 1328 1329 </td> 1330 </tr> 1331 1332 1333 <tr class="alt-color api apilevel-" > 1334 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/request/Requests.UpdateRequestsResult.html">Requests.UpdateRequestsResult</a></td> 1335 <td class="jd-descrcol" width="100%"> 1336 Result delivered when requests are updated. 1337 1338 1339 1340 </td> 1341 </tr> 1342 1343 1344 <tr class=" api apilevel-" > 1345 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/snapshot/SnapshotMetadataBuffer.html">SnapshotMetadataBuffer</a></td> 1346 <td class="jd-descrcol" width="100%"> 1347 Data structure providing access to a list of snapshots. 1348 1349 1350 1351 </td> 1352 </tr> 1353 1354 1355 <tr class="alt-color api apilevel-" > 1356 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/snapshot/Snapshots.LoadSnapshotsResult.html">Snapshots.LoadSnapshotsResult</a></td> 1357 <td class="jd-descrcol" width="100%"> 1358 Result delivered when snapshot data has been loaded. 1359 1360 1361 1362 </td> 1363 </tr> 1364 1365 1366 <tr class=" api apilevel-" > 1367 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchBuffer.html">TurnBasedMatchBuffer</a></td> 1368 <td class="jd-descrcol" width="100%"> 1369 <code><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a></code> implementation containing TurnBasedMatch details. 1370 1371 1372 1373 </td> 1374 </tr> 1375 1376 1377 <tr class="alt-color api apilevel-" > 1378 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer.LoadMatchesResult.html">TurnBasedMultiplayer.LoadMatchesResult</a></td> 1379 <td class="jd-descrcol" width="100%"> 1380 Result delivered when matches have been loaded. 1381 1382 1383 1384 </td> 1385 </tr> 1386 1387 1388 </table> 1389 1390 </div> 1391 </div> 1392</td></tr></table> 1393 1394 1395<div class="jd-descr"> 1396 1397 1398<h2>Class Overview</h2> 1399<p itemprop="articleBody">Represents a resource, or a holder of resources, which may be released once they are no longer 1400 needed. 1401</p> 1402 1403 1404 1405 1406 1407</div><!-- jd-descr --> 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424<div class="jd-descr"> 1425 1426 1427<h2>Summary</h2> 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455<!-- ========== METHOD SUMMARY =========== --> 1456<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> 1457 1458 1459 1460 1461 <tr class="alt-color api apilevel-" > 1462 <td class="jd-typecol"><nobr> 1463 abstract 1464 1465 1466 1467 1468 void</nobr> 1469 </td> 1470 <td class="jd-linkcol" width="100%"><nobr> 1471 <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Releasable.html#release()">release</a></span>()</nobr> 1472 1473 </td></tr> 1474 1475 1476 1477</table> 1478 1479 1480 1481 1482 1483 1484 1485</div><!-- jd-descr (summary) --> 1486 1487<!-- Details --> 1488 1489 1490 1491 1492 1493 1494 1495 1496<!-- XML Attributes --> 1497 1498 1499<!-- Enum Values --> 1500 1501 1502<!-- Constants --> 1503 1504 1505<!-- Fields --> 1506 1507 1508<!-- Public ctors --> 1509 1510 1511 1512<!-- ========= CONSTRUCTOR DETAIL ======== --> 1513<!-- Protected ctors --> 1514 1515 1516 1517<!-- ========= METHOD DETAIL ======== --> 1518<!-- Public methdos --> 1519 1520<h2>Public Methods</h2> 1521 1522 1523 1524<A NAME="release()"></A> 1525 1526<div class="jd-details api apilevel-"> 1527 <h4 class="jd-details-title"> 1528 <span class="normal"> 1529 public 1530 1531 1532 abstract 1533 1534 void 1535 </span> 1536 <span class="sympad">release</span> 1537 <span class="normal">()</span> 1538 </h4> 1539 <div class="api-level"> 1540 <div></div> 1541 1542 1543 1544 </div> 1545 <div class="jd-details-descr"> 1546 1547 1548 1549 1550 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1551 1552 </div> 1553</div> 1554 1555 1556 1557 1558 1559<!-- ========= METHOD DETAIL ======== --> 1560 1561 1562 1563<!-- ========= END OF CLASS DATA ========= --> 1564<A NAME="navbar_top"></A> 1565 1566<div id="footer" class="wrap" > 1567 1568 1569 <div id="copyright"> 1570 1571 Except as noted, this content is licensed under <a 1572 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 1573 For details and restrictions, see the <a href="/license.html"> 1574 Content License</a>. 1575 </div> 1576 <div id="build_info"> 1577 1578<script src="/timestamp.js" type="text/javascript"></script> 1579<script>document.write(BUILD_TIMESTAMP)</script> 1580 1581 </div> 1582 1583 1584 <div id="footerlinks"> 1585 1586 <p> 1587 <a href="/about/index.html">About Android</a> | 1588 <a href="/legal.html">Legal</a> | 1589 <a href="/support.html">Support</a> 1590 </p> 1591 </div> 1592 1593</div> <!-- end footer --> 1594</div> <!-- jd-content --> 1595 1596</div><!-- end doc-content --> 1597 1598</div> <!-- end body-content --> 1599 1600 1601 1602 1603 1604 1605</body> 1606</html> 1607