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<html> 79<head> 80 81 82<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 83<meta name="viewport" content="width=device-width" /> 84 85<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> 86<title>Freezable | Android Developers</title> 87 88<!-- STYLESHEETS --> 89<link rel="stylesheet" 90href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto"> 91<link href="/assets/css/default.css" rel="stylesheet" type="text/css"> 92 93 94 95<!-- JAVASCRIPT --> 96<script src="//www.google.com/jsapi" type="text/javascript"></script> 97<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> 98<script type="text/javascript"> 99 var toRoot = "/"; 100 var devsite = false; 101</script> 102<script src="/assets/js/docs.js" type="text/javascript"></script> 103 104<script type="text/javascript"> 105 var _gaq = _gaq || []; 106 _gaq.push(['_setAccount', 'UA-5831155-1']); 107 _gaq.push(['_trackPageview']); 108 109 (function() { 110 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 111 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 112 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 113 })(); 114</script> 115</head> 116<body class="gc-documentation google 117 develop" itemscope itemtype="http://schema.org/Article"> 118 <div id="doc-api-level" class="" style="display:none"></div> 119 <a name="top"></a> 120 121<a name="top"></a> 122 123 <!-- Header --> 124 <div id="header"> 125 <div class="wrap" id="header-wrap"> 126 <div class="col-3 logo"> 127 <a href="/index.html"> 128 <img src="/assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" /> 129 </a> 130 <div class="btn-quicknav" id="btn-quicknav"> 131 <a href="#" class="arrow-inactive">Quicknav</a> 132 <a href="#" class="arrow-active">Quicknav</a> 133 </div> 134 </div> 135 <ul class="nav-x col-9"> 136 <li class="design"> 137 <a href="/design/index.html" 138 zh-tw-lang="設計" 139 zh-cn-lang="设计" 140 ru-lang="Проектирование" 141 ko-lang="디자인" 142 ja-lang="設計" 143 es-lang="Diseñar" 144 >Design</a></li> 145 <li class="develop"><a href="/develop/index.html" 146 zh-tw-lang="開發" 147 zh-cn-lang="开发" 148 ru-lang="Разработка" 149 ko-lang="개발" 150 ja-lang="開発" 151 es-lang="Desarrollar" 152 >Develop</a></li> 153 <li class="distribute last"><a href="/distribute/index.html" 154 zh-tw-lang="發佈" 155 zh-cn-lang="分发" 156 ru-lang="Распространение" 157 ko-lang="배포" 158 ja-lang="配布" 159 es-lang="Distribuir" 160 >Distribute</a></li> 161 </ul> 162 163 <!-- New Search --> 164 <div class="menu-container"> 165 <div class="moremenu"> 166 <div id="more-btn"></div> 167 </div> 168 <div class="morehover" id="moremenu"> 169 <div class="top"></div> 170 <div class="mid"> 171 <div class="header">Links</div> 172 <ul> 173 <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li> 174 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 175 <li><a href="/about/index.html">About Android</a></li> 176 </ul> 177 <div class="header">Android Sites</div> 178 <ul> 179 <li><a href="http://www.android.com">Android.com</a></li> 180 <li class="active"><a>Android Developers</a></li> 181 <li><a href="http://source.android.com">Android Open Source Project</a></li> 182 </ul> 183 184 185 186 <div class="header">Language</div> 187 <div id="language" class="locales"> 188 <select name="language" onChange="changeLangPref(this.value, true)"> 189 <option value="en">English</option> 190 <option value="es">Español</option> 191 <option value="ja">日本語</option> 192 <option value="ko">한국어</option> 193 <option value="ru">Русский</option> 194 <option value="zh-cn">中文 (中国)</option> 195 <option value="zh-tw">中文 (台灣)</option> 196 </select> 197 </div> 198 <script type="text/javascript"> 199 <!-- 200 loadLangPref(); 201 //--> 202 </script> 203 204 205 206 207 <br class="clearfix" /> 208 </div> 209 <div class="bottom"></div> 210 </div> 211 <div class="search" id="search-container"> 212 <div class="search-inner"> 213 <div id="search-btn"></div> 214 <div class="left"></div> 215 <form onsubmit="return submit_search()"> 216 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 217onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 218onkeydown="return search_changed(event, true, '/')" 219onkeyup="return search_changed(event, false, '/')" /> 220 </form> 221 <div class="right"></div> 222 <a class="close hide">close</a> 223 <div class="left"></div> 224 <div class="right"></div> 225 </div> 226 </div> 227 228 <div class="search_filtered_wrapper reference"> 229 <div class="suggest-card reference no-display"> 230 <ul class="search_filtered"> 231 </ul> 232 </div> 233 </div> 234 235 <div class="search_filtered_wrapper docs"> 236 <div class="suggest-card dummy no-display"> </div> 237 <div class="suggest-card develop no-display"> 238 <ul class="search_filtered"> 239 </ul> 240 <div class="child-card guides no-display"> 241 </div> 242 <div class="child-card training no-display"> 243 </div> 244 </div> 245 <div class="suggest-card design no-display"> 246 <ul class="search_filtered"> 247 </ul> 248 </div> 249 <div class="suggest-card distribute no-display"> 250 <ul class="search_filtered"> 251 </ul> 252 </div> 253 </div> 254 255 </div> 256 <!-- /New Search> 257 258 259 <!-- Expanded quicknav --> 260 <div id="quicknav" class="col-9"> 261 <ul> 262 <li class="design"> 263 <ul> 264 <li><a href="/design/index.html">Get Started</a></li> 265 <li><a href="/design/style/index.html">Style</a></li> 266 <li><a href="/design/patterns/index.html">Patterns</a></li> 267 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> 268 <li><a href="/design/downloads/index.html">Downloads</a></li> 269 <li><a href="/design/videos/index.html">Videos</a></li> 270 </ul> 271 </li> 272 <li class="develop"> 273 <ul> 274 <li><a href="/training/index.html" 275 zh-tw-lang="訓練課程" 276 zh-cn-lang="培训" 277 ru-lang="Курсы" 278 ko-lang="교육" 279 ja-lang="トレーニング" 280 es-lang="Capacitación" 281 >Training</a></li> 282 <li><a href="/guide/components/index.html" 283 zh-tw-lang="API 指南" 284 zh-cn-lang="API 指南" 285 ru-lang="Руководства по API" 286 ko-lang="API 가이드" 287 ja-lang="API ガイド" 288 es-lang="Guías de la API" 289 >API Guides</a></li> 290 <li><a href="/reference/packages.html" 291 zh-tw-lang="參考資源" 292 zh-cn-lang="参考" 293 ru-lang="Справочник" 294 ko-lang="참조문서" 295 ja-lang="リファレンス" 296 es-lang="Referencia" 297 >Reference</a></li> 298 <li><a href="/tools/index.html" 299 zh-tw-lang="相關工具" 300 zh-cn-lang="工具" 301 ru-lang="Инструменты" 302 ko-lang="도구" 303 ja-lang="ツール" 304 es-lang="Herramientas" 305 >Tools</a> 306 <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul> 307 </li> 308 <li><a href="/google/index.html">Google Services</a> 309 </li> 310 311 </ul> 312 </li> 313 <li class="distribute last"> 314 <ul> 315 <li><a href="/distribute/index.html">Google Play</a></li> 316 <li><a href="/distribute/googleplay/publish/index.html">Publishing</a></li> 317 <li><a href="/distribute/googleplay/promote/index.html">Promoting</a></li> 318 <li><a href="/distribute/googleplay/quality/index.html">App Quality</a></li> 319 <li><a href="/distribute/googleplay/spotlight/index.html">Spotlight</a></li> 320 <li><a href="/distribute/open.html">Open Distribution</a></li> 321 </ul> 322 </li> 323 </ul> 324 </div> 325 <!-- /Expanded quicknav --> 326 </div> 327 </div> 328 <!-- /Header --> 329 330 331 <div id="searchResults" class="wrap" style="display:none;"> 332 <h2 id="searchTitle">Results</h2> 333 <div id="leftSearchControl" class="search-control">Loading...</div> 334 </div> 335 336 337 338 <!-- Secondary x-nav --> 339 <div id="nav-x"> 340 <div class="wrap"> 341 <ul class="nav-x col-9 develop" style="width:100%"> 342 <li class="training"><a href="/training/index.html" 343 zh-tw-lang="訓練課程" 344 zh-cn-lang="培训" 345 ru-lang="Курсы" 346 ko-lang="교육" 347 ja-lang="トレーニング" 348 es-lang="Capacitación" 349 >Training</a></li> 350 <li class="guide"><a href="/guide/components/index.html" 351 zh-tw-lang="API 指南" 352 zh-cn-lang="API 指南" 353 ru-lang="Руководства по API" 354 ko-lang="API 가이드" 355 ja-lang="API ガイド" 356 es-lang="Guías de la API" 357 >API Guides</a></li> 358 <li class="reference"><a href="/reference/packages.html" 359 zh-tw-lang="參考資源" 360 zh-cn-lang="参考" 361 ru-lang="Справочник" 362 ko-lang="참조문서" 363 ja-lang="リファレンス" 364 es-lang="Referencia" 365 >Reference</a></li> 366 <li class="tools"><a href="/tools/index.html" 367 zh-tw-lang="相關工具" 368 zh-cn-lang="工具" 369 ru-lang="Инструменты" 370 ko-lang="도구" 371 ja-lang="ツール" 372 es-lang="Herramientas" 373 >Tools</a></li> 374 <li class="google"><a href="/google/index.html" 375 >Google Services</a> 376 </li> 377 378 </ul> 379 </div> 380 381 </div> 382 <!-- /Sendondary x-nav --> 383 384 385 386 387 388 389 390 391 392 <div class="wrap clearfix" id="body-content"> 393 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 394 <div id="devdoc-nav" class="scroll-pane"> 395<a class="totop" href="#top" data-g-event="left-nav-top">to top</a> 396 397 398 399<ul id="nav"> 400 401 <li class="nav-section"> 402 <div class="nav-section-header empty"><a href="/google/index.html"> 403 <span class="en">Overview</span> 404 </a></div> 405 </li> 406 407 <li class="nav-section"> 408 <div class="nav-section-header empty"><a href="/google/play-services/games.html"> 409 <span class="en">Games</span> 410 </a></div> 411 </li> 412 <li class="nav-section"> 413 <div class="nav-section-header empty"><a href="/google/play-services/location.html"> 414 <span class="en">Location</span> 415 </a></div> 416 </li> 417 <li class="nav-section"> 418 <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> 419 <span class="en">Google+</span> 420 </a></div> 421 </li> 422 <li class="nav-section"> 423 <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> 424 <span class="en">Maps</span> 425 </a></div> 426 </li> 427 <li class="nav-section"> 428 <div class="nav-section-header"><a href="/google/play-services/ads.html"> 429 <span class="en">Ads</span></a> 430 </div> 431 <ul> 432 <li><a href="/google/play-services/id.html"> 433 <span class="en">Advertising ID</span></a> 434 </li> 435 </ul> 436 </li> 437 <li class="nav-section"> 438 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> 439 <span class="en">Wallet</span> 440 </a></div> 441 </li> 442 <li class="nav-section"> 443 <div class="nav-section-header empty"><a href="/google/play-services/auth.html"> 444 <span class="en">Authorization</span> 445 </a></div> 446 </li> 447 448 449 450 <li class="nav-section"> 451 <div class="nav-section-header"><a href="/google/play-services/index.html"> 452 <span class="en">Google Play Services</span></a> 453 </div> 454 <ul> 455 <li><a href="/google/play-services/setup.html"> 456 <span class="en">Setup</span></a> 457 </li> 458 <li id="gms-tree-list" class="nav-section"> 459 <div class="nav-section-header"> 460 <a href="/reference/gms-packages.html"> 461 <span class="en">Reference</span> 462 </a> 463 <div> 464 </li> 465 </ul> 466 </li> 467 468 469 <li class="nav-section"> 470 <div class="nav-section-header"><a href="/google/play/billing/index.html"> 471 <span class="en">Google Play In-app Billing</span></a> 472 </div> 473 <ul> 474 <li><a href="/google/play/billing/billing_overview.html"> 475 <span class="en">Overview</span></a> 476 </li> 477 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html"> 478 <span class="en">Version 3 API</span></a></div> 479 <ul> 480 <li><a href="/google/play/billing/billing_integrate.html"> 481 <span class="en">Implementing the API</span></a></li> 482 <li><a href="/google/play/billing/billing_reference.html"> 483 <span class="en">Reference</span></a></li> 484 </ul> 485 </li> 486 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> 487 <span class="en">Version 2 API</span></a></div> 488 <ul> 489 <li><a href="/google/play/billing/v2/billing_integrate.html"> 490 <span class="en">Implementing the API</span></a></li> 491 <li><a href="/google/play/billing/v2/billing_subscriptions.html"> 492 <span class="en">Subscriptions</span></a></li> 493 <li><a href="/google/play/billing/v2/billing_reference.html"> 494 <span class="en">Reference</span></a></li> 495 </ul> 496 </li> 497 <li><a href="/google/play/billing/billing_subscriptions.html"> 498 <span class="en">Subscriptions</span></a> 499 </li> 500 <li><a href="/google/play/billing/billing_best_practices.html"> 501 <span class="en">Security and Design</span></a> 502 </li> 503 <li><a href="/google/play/billing/billing_testing.html"> 504 <span class="en">Testing In-app Billing</span></a> 505 </li> 506 <li><a href="/google/play/billing/billing_admin.html"> 507 <span class="en">Administering In-app Billing</span></a> 508 </li> 509 <li><a href="/google/play/billing/gp-purchase-status-api.html"> 510 <span class="en">Purchase Status API</span></a> 511 </li> 512 <li><a href="/google/play/billing/versions.html"> 513 <span class="en">Version Notes</span></a> 514 </li> 515 </ul> 516 </li> 517 518 519 520 <li class="nav-section"> 521 <div class="nav-section-header"><a href="/google/gcm/index.html"> 522 <span class="en">Google Cloud Messaging</span></a> 523 </div> 524 <ul> 525 <li><a href="/google/gcm/gs.html"> 526 <span class="en">Getting Started</span></a> 527 </li> 528 <li><a href="/google/gcm/gcm.html"> 529 <span class="en">Architectural Overview</span></a> 530 </li> 531 <li><a href="/google/gcm/ccs.html"> 532 <span class="en">Cloud Connection Server</span></a> 533 </li> 534 <li><a href="/google/gcm/notifications.html"> 535 <span class="en">User Notifications</span></a> 536 </li> 537 <li><a href="/google/gcm/client.html"> 538 <span class="en">GCM Client</span></a> 539 </li> 540 <li><a href="/google/gcm/server.html"> 541 <span class="en">GCM Server</span></a> 542 </li> 543 <li><a href="/google/gcm/adv.html"> 544 <span class="en">Advanced Topics</span></a> 545 </li> 546 <li><a href="/google/gcm/c2dm.html"> 547 <span class="en">Migration</span></a> 548 </li> 549 <li id="gcm-tree-list" class="nav-section"> 550 <div class="nav-section-header"> 551 <a href="/reference/gcm-packages.html"> 552 <span class="en">Reference</span> 553 </a> 554 <div> 555 </li> 556 </ul> 557 </li> 558 559 <li class="nav-section"> 560 <div class="nav-section-header"><a href="/google/play/dist.html"> 561 <span class="en">Google Play Distribution</span></a> 562 </div> 563 <ul> 564 <li><a href="/google/play/filters.html"> 565 <span class="en">Filters on Google Play</span></a> 566 </li> 567 568 <li><a href="/google/play/publishing/multiple-apks.html"> 569 <span class="en">Multiple APK Support</span></a> 570 </li> 571 <li><a href="/google/play/expansion-files.html"> 572 <span class="en">APK Expansion Files</span></a> 573 </li> 574 <li class="nav-section"> 575 <div class="nav-section-header"><a href="/google/play/licensing/index.html"> 576 <span class="en">Application Licensing</span></a> 577 </div> 578 <ul> 579 <li><a href="/google/play/licensing/overview.html"> 580 <span class="en">Licensing Overview</span></a> 581 </li> 582 <li><a href="/google/play/licensing/setting-up.html"> 583 <span class="en">Setting Up for Licensing</span></a> 584 </li> 585 <li><a href="/google/play/licensing/adding-licensing.html"> 586 <span class="en">Adding Licensing to Your App</span></a> 587 </li> 588 <li><a href="/google/play/licensing/licensing-reference.html"> 589 <span class="en">Licensing Reference</span></a> 590 </li> 591 </ul> 592 </li> 593 594 <li class="nav-section"> 595 <div class="nav-section-header"><a href="/google/backup/index.html"> 596 Android Backup Service</a> 597 </div> 598 <ul> 599 <li><a href="/google/backup/signup.html"> 600 Register</a> 601 </li> 602 </ul> 603 </li> 604 605 </ul> 606 607</li> 608 609 610 611</ul> 612 613<script type="text/javascript"> 614<!-- 615 buildToggleLists(); 616 changeNavLang(getLangPref()); 617//--> 618</script> 619 620 621 622 623 </div> 624 <script type="text/javascript"> 625 showGoogleRefTree(); 626 627 </script> 628 </div> <!-- end side-nav --> 629 <script> 630 $(document).ready(function() { 631 scrollIntoView("devdoc-nav"); 632 }); 633 </script> 634 635 636 637 638 639 640<div class="col-12" id="doc-col"> 641 642<div id="api-info-block"> 643 644 645 646 647<div class="sum-details-links"> 648 649Summary: 650 651 652 653 654 655 656 657 658 659 660 661 <a href="#pubmethods">Methods</a> 662 663 664 665 666| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 667 668</div><!-- end sum-details-links --> 669<div class="api-level"> 670 671 672 673 674</div> 675</div><!-- end api-info-block --> 676 677 678<!-- ======== START OF CLASS DATA ======== --> 679 680<div id="jd-header"> 681 public 682 683 684 685 interface 686<h1 itemprop="name">Freezable</h1> 687 688 689 690 691 692 693 694 695</div><!-- end header --> 696 697<div id="naMessage"></div> 698 699<div id="jd-content" class="api apilevel-"> 700<table class="jd-inheritance-table"> 701 702 703 <tr> 704 705 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.common.data.Freezable<T></td> 706 </tr> 707 708 709</table> 710 711 712 713 714 715 716<table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;"> 717 718 <a href="#" onclick="return toggleInherited(this, null)" id="subclasses-indirect" class="jd-expando-trigger closed" 719 ><img id="subclasses-indirect-trigger" 720 src="/assets/images/triangle-closed.png" 721 class="jd-expando-trigger-img" /></a>Known Indirect Subclasses 722 723 <div id="subclasses-indirect"> 724 <div id="subclasses-indirect-list" 725 class="jd-inheritedlinks" 726 727 > 728 729 730 731 732 <a href="/reference/com/google/android/gms/appstate/AppState.html">AppState</a>, 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 <a href="/reference/com/google/android/gms/games/Game.html">Game</a>, 762 763 764 765 766 767 768 769 770 771 772 773 774 775 <a href="/reference/com/google/android/gms/games/GameEntity.html">GameEntity</a>, 776 777 778 779 780 and 781 <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">9 others.</a> 782 783 784 785 </div> 786 <div id="subclasses-indirect-summary" 787 style="display: none;" 788 > 789 <table class="jd-sumtable-expando"> 790 <tr class="alt-color api apilevel-" > 791 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/appstate/AppState.html">AppState</a></td> 792 <td class="jd-descrcol" width="100%">Data interface for retrieving app state information. </td> 793 </tr> 794 <tr class=" api apilevel-" > 795 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/Game.html">Game</a></td> 796 <td class="jd-descrcol" width="100%">Data interface for retrieving game information. </td> 797 </tr> 798 <tr class="alt-color api apilevel-" > 799 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/GameEntity.html">GameEntity</a></td> 800 <td class="jd-descrcol" width="100%">Data object representing a set of Game data. </td> 801 </tr> 802 <tr class=" api apilevel-" > 803 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/Invitation.html">Invitation</a></td> 804 <td class="jd-descrcol" width="100%">Data interface for an invitation object. </td> 805 </tr> 806 <tr class="alt-color api apilevel-" > 807 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/InvitationEntity.html">InvitationEntity</a></td> 808 <td class="jd-descrcol" width="100%">Data object representing the data for a multiplayer invitation. </td> 809 </tr> 810 <tr class=" api apilevel-" > 811 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/moments/ItemScope.html">ItemScope</a></td> 812 <td class="jd-descrcol" width="100%"> </td> 813 </tr> 814 <tr class="alt-color api apilevel-" > 815 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html">LeaderboardScore</a></td> 816 <td class="jd-descrcol" width="100%">Data interface representing a single score on a leaderboard. </td> 817 </tr> 818 <tr class=" api apilevel-" > 819 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/moments/Moment.html">Moment</a></td> 820 <td class="jd-descrcol" width="100%"> </td> 821 </tr> 822 <tr class="alt-color api apilevel-" > 823 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/Participant.html">Participant</a></td> 824 <td class="jd-descrcol" width="100%">Data interface for multiplayer participants. </td> 825 </tr> 826 <tr class=" api apilevel-" > 827 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html">ParticipantEntity</a></td> 828 <td class="jd-descrcol" width="100%">Data object representing a Participant in a match. </td> 829 </tr> 830 <tr class="alt-color api apilevel-" > 831 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.html">Person</a></td> 832 <td class="jd-descrcol" width="100%"> </td> 833 </tr> 834 <tr class=" api apilevel-" > 835 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html">Person.AgeRange</a></td> 836 <td class="jd-descrcol" width="100%">The age range of the person. </td> 837 </tr> 838 <tr class="alt-color api apilevel-" > 839 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Cover.html">Person.Cover</a></td> 840 <td class="jd-descrcol" width="100%">The cover photo content. </td> 841 </tr> 842 <tr class=" api apilevel-" > 843 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverInfo.html">Person.Cover.CoverInfo</a></td> 844 <td class="jd-descrcol" width="100%">Extra information about the cover photo. </td> 845 </tr> 846 <tr class="alt-color api apilevel-" > 847 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Cover.CoverPhoto.html">Person.Cover.CoverPhoto</a></td> 848 <td class="jd-descrcol" width="100%">The person's primary cover image. </td> 849 </tr> 850 <tr class=" api apilevel-" > 851 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Image.html">Person.Image</a></td> 852 <td class="jd-descrcol" width="100%">The representation of the person's profile photo. </td> 853 </tr> 854 <tr class="alt-color api apilevel-" > 855 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Name.html">Person.Name</a></td> 856 <td class="jd-descrcol" width="100%">An object representation of the individual components of a person's name. </td> 857 </tr> 858 <tr class=" api apilevel-" > 859 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Organizations.html">Person.Organizations</a></td> 860 <td class="jd-descrcol" width="100%"> </td> 861 </tr> 862 <tr class="alt-color api apilevel-" > 863 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.PlacesLived.html">Person.PlacesLived</a></td> 864 <td class="jd-descrcol" width="100%"> </td> 865 </tr> 866 <tr class=" api apilevel-" > 867 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Urls.html">Person.Urls</a></td> 868 <td class="jd-descrcol" width="100%"> </td> 869 </tr> 870 <tr class="alt-color api apilevel-" > 871 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/Player.html">Player</a></td> 872 <td class="jd-descrcol" width="100%">Data interface for retrieving player information. </td> 873 </tr> 874 <tr class=" api apilevel-" > 875 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/PlayerEntity.html">PlayerEntity</a></td> 876 <td class="jd-descrcol" width="100%">Data object representing a set of Player data. </td> 877 </tr> 878 <tr class="alt-color api apilevel-" > 879 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/realtime/Room.html">Room</a></td> 880 <td class="jd-descrcol" width="100%">Data interface for room functionality. </td> 881 </tr> 882 <tr class=" api apilevel-" > 883 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html">RoomEntity</a></td> 884 <td class="jd-descrcol" width="100%">Data object representing the data for a room. </td> 885 </tr> 886 </table> 887 </div> 888 </div> 889</td></tr></table> 890 891 892<div class="jd-descr"> 893 894 895<h2>Class Overview</h2> 896<p itemprop="articleBody">Interface for data objects that support being frozen into immutable representations. 897</p> 898 899 900 901 902 903</div><!-- jd-descr --> 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920<div class="jd-descr"> 921 922 923<h2>Summary</h2> 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951<!-- ========== METHOD SUMMARY =========== --> 952<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> 953 954 955 956 957 <tr class="alt-color api apilevel-" > 958 <td class="jd-typecol"><nobr> 959 abstract 960 961 962 963 964 T</nobr> 965 </td> 966 <td class="jd-linkcol" width="100%"><nobr> 967 <span class="sympad"><a href="/reference/com/google/android/gms/common/data/Freezable.html#freeze()">freeze</a></span>()</nobr> 968 969 <div class="jd-descrdiv">Freeze a volatile representation into an immutable representation.</div> 970 971 </td></tr> 972 973 974 975 <tr class=" api apilevel-" > 976 <td class="jd-typecol"><nobr> 977 abstract 978 979 980 981 982 boolean</nobr> 983 </td> 984 <td class="jd-linkcol" width="100%"><nobr> 985 <span class="sympad"><a href="/reference/com/google/android/gms/common/data/Freezable.html#isDataValid()">isDataValid</a></span>()</nobr> 986 987 <div class="jd-descrdiv">Check to see if this object is valid for use.</div> 988 989 </td></tr> 990 991 992 993</table> 994 995 996 997 998 999 1000 1001</div><!-- jd-descr (summary) --> 1002 1003<!-- Details --> 1004 1005 1006 1007 1008 1009 1010 1011 1012<!-- XML Attributes --> 1013 1014 1015<!-- Enum Values --> 1016 1017 1018<!-- Constants --> 1019 1020 1021<!-- Fields --> 1022 1023 1024<!-- Public ctors --> 1025 1026 1027 1028<!-- ========= CONSTRUCTOR DETAIL ======== --> 1029<!-- Protected ctors --> 1030 1031 1032 1033<!-- ========= METHOD DETAIL ======== --> 1034<!-- Public methdos --> 1035 1036<h2>Public Methods</h2> 1037 1038 1039 1040<A NAME="freeze()"></A> 1041 1042<div class="jd-details api apilevel-"> 1043 <h4 class="jd-details-title"> 1044 <span class="normal"> 1045 public 1046 1047 1048 abstract 1049 1050 T 1051 </span> 1052 <span class="sympad">freeze</span> 1053 <span class="normal">()</span> 1054 </h4> 1055 <div class="api-level"> 1056 <div></div> 1057 1058 1059 1060 </div> 1061 <div class="jd-details-descr"> 1062 1063 <div class="jd-tagdata jd-tagdescr"><p>Freeze a volatile representation into an immutable representation. Objects returned from this 1064 call are safe to cache. 1065 <p> 1066 Note that the output of <code>freeze</code> may not be identical to the parent object, but should 1067 be equal. In other words: 1068 1069 <pre> 1070 <code> 1071 Freezable f1 = new Freezable(); 1072 Freezable f2 = f1.freeze(); 1073 f1 == f2 may not be true. 1074 f1.equals(f2) will be true. 1075 </code> 1076 </pre></p></div> 1077 <div class="jd-tagdata"> 1078 <h5 class="jd-tagtitle">Returns</h5> 1079 <ul class="nolist"><li>A concrete implementation of the data object. 1080</li></ul> 1081 </div> 1082 1083 </div> 1084</div> 1085 1086 1087<A NAME="isDataValid()"></A> 1088 1089<div class="jd-details api apilevel-"> 1090 <h4 class="jd-details-title"> 1091 <span class="normal"> 1092 public 1093 1094 1095 abstract 1096 1097 boolean 1098 </span> 1099 <span class="sympad">isDataValid</span> 1100 <span class="normal">()</span> 1101 </h4> 1102 <div class="api-level"> 1103 <div></div> 1104 1105 1106 1107 </div> 1108 <div class="jd-details-descr"> 1109 1110 <div class="jd-tagdata jd-tagdescr"><p>Check to see if this object is valid for use. If the object is still volatile, this method 1111 will indicate whether or not the object can be safely used. The output of a call to 1112 <code><a href="/reference/com/google/android/gms/common/data/Freezable.html#freeze()">freeze()</a></code> will always be valid.</p></div> 1113 <div class="jd-tagdata"> 1114 <h5 class="jd-tagtitle">Returns</h5> 1115 <ul class="nolist"><li>whether or not the object is valid for use. 1116</li></ul> 1117 </div> 1118 1119 </div> 1120</div> 1121 1122 1123 1124 1125 1126<!-- ========= METHOD DETAIL ======== --> 1127 1128 1129 1130<!-- ========= END OF CLASS DATA ========= --> 1131<A NAME="navbar_top"></A> 1132 1133<div id="footer" class="wrap" > 1134 1135 1136 <div id="copyright"> 1137 1138 Except as noted, this content is licensed under <a 1139 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 1140 For details and restrictions, see the <a href="/license.html"> 1141 Content License</a>. 1142 </div> 1143 <div id="build_info"> 1144 1145<script src="/timestamp.js" type="text/javascript"></script> 1146<script>document.write(BUILD_TIMESTAMP)</script> 1147 1148 </div> 1149 1150 1151 <div id="footerlinks"> 1152 1153 <p> 1154 <a href="/about/index.html">About Android</a> | 1155 <a href="/legal.html">Legal</a> | 1156 <a href="/support.html">Support</a> 1157 </p> 1158 </div> 1159 1160</div> <!-- end footer --> 1161</div> <!-- jd-content --> 1162 1163</div><!-- end doc-content --> 1164 1165</div> <!-- end body-content --> 1166 1167 1168 1169 1170 1171 1172</body> 1173</html> 1174