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<html> 88<head> 89 90 91<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 92<meta name="viewport" content="width=device-width" /> 93 94<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> 95<title>QuestEntity | Android Developers</title> 96 97<!-- STYLESHEETS --> 98<link rel="stylesheet" 99href="//fonts.googleapis.com/css?family=Roboto+Condensed"> 100<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 101 title="roboto"> 102<link href="/assets/css/default.css?v=2" rel="stylesheet" type="text/css"> 103 104 105 106<!-- JAVASCRIPT --> 107<script src="//www.google.com/jsapi" type="text/javascript"></script> 108<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> 109<script type="text/javascript"> 110 var toRoot = "/"; 111 var metaTags = []; 112 var devsite = false; 113</script> 114<script src="/assets/js/docs.js?v=2" type="text/javascript"></script> 115 116<script> 117 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 118 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 119 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 120 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 121 122 ga('create', 'UA-5831155-1', 'android.com'); 123 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 124 ga('send', 'pageview'); 125 ga('universal.send', 'pageview'); // Send page view for new tracker. 126</script> 127 128</head> 129 130<body class="gc-documentation google 131 develop" itemscope itemtype="http://schema.org/Article"> 132 <div id="doc-api-level" class="" style="display:none"></div> 133 <a name="top"></a> 134 135 136<a name="top"></a> 137 138 <!-- Header --> 139 <div id="header-wrapper"> 140 <div id="header"> 141 <div class="wrap" id="header-wrap"> 142 <div class="col-3 logo"> 143 <a href="/index.html"> 144 <img src="/assets/images/dac_logo.png" 145 srcset="/assets/images/dac_logo@2x.png 2x" 146 width="123" height="25" alt="Android Developers" /> 147 </a> 148 <div class="btn-quicknav" id="btn-quicknav"> 149 <a href="#" class="arrow-inactive">Quicknav</a> 150 <a href="#" class="arrow-active">Quicknav</a> 151 </div> 152 </div> 153 <ul class="nav-x col-9"> 154 <li class="design"> 155 <a href="/design/index.html" 156 zh-tw-lang="設計" 157 zh-cn-lang="设计" 158 ru-lang="Проектирование" 159 ko-lang="디자인" 160 ja-lang="設計" 161 es-lang="Diseñar" 162 >Design</a></li> 163 <li class="develop"><a href="/develop/index.html" 164 zh-tw-lang="開發" 165 zh-cn-lang="开发" 166 ru-lang="Разработка" 167 ko-lang="개발" 168 ja-lang="開発" 169 es-lang="Desarrollar" 170 >Develop</a></li> 171 <li class="distribute last"><a href="/distribute/index.html" 172 zh-tw-lang="發佈" 173 zh-cn-lang="分发" 174 ru-lang="Распространение" 175 ko-lang="배포" 176 ja-lang="配布" 177 es-lang="Distribuir" 178 >Distribute</a></li> 179 </ul> 180 181 182 183 184<div class="menu-container"> 185 <div class="moremenu"> 186 <div id="more-btn"></div> 187 </div> 188 <div class="morehover" id="moremenu"> 189 <div class="top"></div> 190 <div class="mid"> 191 <div class="header">Links</div> 192 <ul> 193 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> 194 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 195 <li><a href="/about/index.html">About Android</a></li> 196 </ul> 197 <div class="header">Android Sites</div> 198 <ul> 199 <li><a href="http://www.android.com">Android.com</a></li> 200 <li class="active"><a>Android Developers</a></li> 201 <li><a href="http://source.android.com">Android Open Source Project</a></li> 202 </ul> 203 204 205 206 <div class="header">Language</div> 207 <div id="language" class="locales"> 208 <select name="language" onChange="changeLangPref(this.value, true)"> 209 <option value="en">English</option> 210 <option value="es">Español</option> 211 <option value="ja">日本語</option> 212 <option value="ko">한국어</option> 213 <option value="ru">Русский</option> 214 <option value="zh-cn">中文 (中国)</option> 215 <option value="zh-tw">中文 (台灣)</option> 216 </select> 217 </div> 218 <script type="text/javascript"> 219 <!-- 220 loadLangPref(); 221 //--> 222 </script> 223 224 225 <br class="clearfix" /> 226 </div><!-- end 'mid' --> 227 <div class="bottom"></div> 228 </div><!-- end 'moremenu' --> 229 230 <div class="search" id="search-container"> 231 <div class="search-inner"> 232 <div id="search-btn"></div> 233 <div class="left"></div> 234 <form onsubmit="return submit_search()"> 235 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 236 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 237 onkeydown="return search_changed(event, true, '/')" 238 onkeyup="return search_changed(event, false, '/')" /> 239 </form> 240 <div class="right"></div> 241 <a class="close hide">close</a> 242 <div class="left"></div> 243 <div class="right"></div> 244 </div><!-- end search-inner --> 245 </div><!-- end search-container --> 246 247 <div class="search_filtered_wrapper reference"> 248 <div class="suggest-card reference no-display"> 249 <ul class="search_filtered"> 250 </ul> 251 </div> 252 </div> 253 254 <div class="search_filtered_wrapper docs"> 255 <div class="suggest-card dummy no-display"> </div> 256 <div class="suggest-card develop no-display"> 257 <ul class="search_filtered"> 258 </ul> 259 <div class="child-card guides no-display"> 260 </div> 261 <div class="child-card training no-display"> 262 </div> 263 <div class="child-card samples no-display"> 264 </div> 265 </div> 266 <div class="suggest-card design no-display"> 267 <ul class="search_filtered"> 268 </ul> 269 </div> 270 <div class="suggest-card distribute no-display"> 271 <ul class="search_filtered"> 272 </ul> 273 </div> 274 </div> 275</div><!-- end menu-container (search and menu widget) --> 276 277 278 279 <!-- Expanded quicknav --> 280 <div id="quicknav" class="col-13"> 281 <ul> 282 <li class="about"> 283 <ul> 284 <li><a href="/about/index.html">About</a></li> 285 <li><a href="/wear/index.html">Wear</a></li> 286 <li><a href="/tv/index.html">TV</a></li> 287 <li><a href="/auto/index.html">Auto</a></li> 288 </ul> 289 </li> 290 <li class="design"> 291 <ul> 292 <li><a href="/design/index.html">Get Started</a></li> 293 <li><a href="/design/devices.html">Devices</a></li> 294 <li><a href="/design/style/index.html">Style</a></li> 295 <li><a href="/design/patterns/index.html">Patterns</a></li> 296 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> 297 <li><a href="/design/downloads/index.html">Downloads</a></li> 298 <li><a href="/design/videos/index.html">Videos</a></li> 299 </ul> 300 </li> 301 <li class="develop"> 302 <ul> 303 <li><a href="/training/index.html" 304 zh-tw-lang="訓練課程" 305 zh-cn-lang="培训" 306 ru-lang="Курсы" 307 ko-lang="교육" 308 ja-lang="トレーニング" 309 es-lang="Capacitación" 310 >Training</a></li> 311 <li><a href="/guide/index.html" 312 zh-tw-lang="API 指南" 313 zh-cn-lang="API 指南" 314 ru-lang="Руководства по API" 315 ko-lang="API 가이드" 316 ja-lang="API ガイド" 317 es-lang="Guías de la API" 318 >API Guides</a></li> 319 <li><a href="/reference/packages.html" 320 zh-tw-lang="參考資源" 321 zh-cn-lang="参考" 322 ru-lang="Справочник" 323 ko-lang="참조문서" 324 ja-lang="リファレンス" 325 es-lang="Referencia" 326 >Reference</a></li> 327 <li><a href="/sdk/index.html" 328 zh-tw-lang="相關工具" 329 zh-cn-lang="工具" 330 ru-lang="Инструменты" 331 ko-lang="도구" 332 ja-lang="ツール" 333 es-lang="Herramientas" 334 >Tools</a> 335 </li> 336 <li><a href="/google/index.html">Google Services</a> 337 </li> 338 339 <li><a href="/samples/index.html">Samples</a> 340 </li> 341 342 </ul> 343 </li> 344 <li class="distribute last"> 345 <ul> 346 <li><a href="/distribute/googleplay/index.html">Google Play</a></li> 347 <li><a href="/distribute/essentials/index.html">Essentials</a></li> 348 <li><a href="/distribute/users/index.html">Get Users</a></li> 349 <li><a href="/distribute/engage/index.html">Engage & Retain</a></li> 350 <li><a href="/distribute/monetize/index.html">Monetize</a></li> 351 <li><a href="/distribute/tools/index.html">Tools & Reference</a></li> 352 <li><a href="/distribute/stories/index.html">Developer Stories</a></li> 353 </ul> 354 </li> 355 </ul> 356 </div><!-- /Expanded quicknav --> 357 </div><!-- end header-wrap.wrap --> 358 </div><!-- end header --> 359 360 361 <!-- Secondary x-nav --> 362 <div id="nav-x"> 363 <div class="wrap"> 364 <ul class="nav-x col-9 develop" style="width:100%"> 365 <li class="training"><a href="/training/index.html" 366 zh-tw-lang="訓練課程" 367 zh-cn-lang="培训" 368 ru-lang="Курсы" 369 ko-lang="교육" 370 ja-lang="トレーニング" 371 es-lang="Capacitación" 372 >Training</a></li> 373 <li class="guide"><a href="/guide/index.html" 374 zh-tw-lang="API 指南" 375 zh-cn-lang="API 指南" 376 ru-lang="Руководства по API" 377 ko-lang="API 가이드" 378 ja-lang="API ガイド" 379 es-lang="Guías de la API" 380 >API Guides</a></li> 381 <li class="reference"><a href="/reference/packages.html" 382 zh-tw-lang="參考資源" 383 zh-cn-lang="参考" 384 ru-lang="Справочник" 385 ko-lang="참조문서" 386 ja-lang="リファレンス" 387 es-lang="Referencia" 388 >Reference</a></li> 389 <li class="tools"><a href="/sdk/index.html" 390 zh-tw-lang="相關工具" 391 zh-cn-lang="工具" 392 ru-lang="Инструменты" 393 ko-lang="도구" 394 ja-lang="ツール" 395 es-lang="Herramientas" 396 >Tools</a></li> 397 <li class="google"><a href="/google/index.html" 398 >Google Services</a> 399 </li> 400 401 <li class="samples"><a href="/samples/index.html" 402 >Samples</a> 403 </li> 404 405 </ul> 406 </div> 407 </div> 408 <!-- /Sendondary x-nav DEVELOP --> 409 410 411 412 <div id="searchResults" class="wrap" style="display:none;"> 413 <h2 id="searchTitle">Results</h2> 414 <div id="leftSearchControl" class="search-control">Loading...</div> 415 </div> 416 </div> <!--end header-wrapper --> 417 418 <div id="sticky-header"> 419 <div> 420 <a class="logo" href="#top"></a> 421 <a class="top" href="#top"></a> 422 <ul class="breadcrumb"> 423 424 <li class="current">QuestEntity</li> 425 </ul> 426 </div> 427 </div> 428 429 430 431 432 433 434 <div class="wrap clearfix" id="body-content"> 435 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 436 <div id="devdoc-nav" class="scroll-pane"> 437 438 439 440<ul id="nav"> 441 442 <li class="nav-section"> 443 <div class="nav-section-header empty"><a href="/google/index.html"> 444 <span class="en">Overview</span> 445 </a></div> 446 </li> 447 448 <li class="nav-section"> 449 <div class="nav-section-header empty"><a href="/google/play-services/games.html"> 450 <span class="en">Games</span> 451 </a></div> 452 </li> 453 <li class="nav-section"> 454 <div class="nav-section-header empty"><a href="/google/play-services/location.html"> 455 <span class="en">Location</span> 456 </a></div> 457 </li> 458 <li class="nav-section"> 459 <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> 460 <span class="en">Google+</span> 461 </a></div> 462 </li> 463 <li class="nav-section"> 464 <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> 465 <span class="en">Maps</span> 466 </a></div> 467 </li> 468 <li class="nav-section"> 469 <div class="nav-section-header empty"><a href="/google/play-services/drive.html"> 470 <span class="en">Drive</span> 471 </a></div> 472 </li> 473 <li class="nav-section"> 474 <div class="nav-section-header empty"><a href="/google/play-services/cast.html"> 475 <span class="en">Cast</span> 476 </a></div> 477 </li> 478 <li class="nav-section"> 479 <div class="nav-section-header"><a href="/google/play-services/ads.html"> 480 <span class="en">Ads</span></a> 481 </div> 482 <ul> 483 <li><a href="/google/play-services/id.html"> 484 <span class="en">Advertising ID</span></a> 485 </li> 486 </ul> 487 </li> 488 <li class="nav-section"> 489 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> 490 <span class="en">Wallet</span> 491 </a></div> 492 </li> 493 494 495 <li class="nav-section"> 496 <div class="nav-section-header"><a href="/google/play-services/index.html"> 497 <span class="en">Google Play Services</span></a> 498 </div> 499 <ul> 500 <li><a href="/google/play-services/setup.html"> 501 <span class="en">Setting Up Google Play Services</span></a> 502 </li> 503 <li class="nav-section"> 504 <div class="nav-section-header"><a href="/google/auth/api-client.html"> 505 <span class="en">Accessing Google APIs</span></a> 506 </div> 507 <ul> 508 <li> 509 <a href="/google/auth/http-auth.html"> 510 <span class="en">Authorizing with Google for REST APIs</span> 511 </a> 512 </li> 513 </ul> 514 </li> 515 <li id="gms-tree-list" class="nav-section"> 516 <div class="nav-section-header"> 517 <a href="/reference/gms-packages.html"> 518 <span class="en">Reference</span> 519 </a> 520 <div> 521 </li> 522 </ul> 523 </li> 524 525 526 <li class="nav-section"> 527 <div class="nav-section-header"><a href="/google/play/billing/index.html"> 528 <span class="en">Google Play In-app Billing</span></a> 529 </div> 530 <ul> 531 <li><a href="/google/play/billing/billing_overview.html"> 532 <span class="en">Overview</span></a> 533 </li> 534 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html"> 535 <span class="en">Version 3 API</span></a></div> 536 <ul> 537 <li><a href="/google/play/billing/billing_integrate.html"> 538 <span class="en">Implementing the API</span></a></li> 539 <li><a href="/google/play/billing/billing_reference.html"> 540 <span class="en">Reference</span></a></li> 541 </ul> 542 </li> 543 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> 544 <span class="en">Version 2 API</span></a></div> 545 <ul> 546 <li><a href="/google/play/billing/v2/billing_integrate.html"> 547 <span class="en">Implementing the API</span></a></li> 548 <li><a href="/google/play/billing/v2/billing_subscriptions.html"> 549 <span class="en">Subscriptions</span></a></li> 550 <li><a href="/google/play/billing/v2/billing_reference.html"> 551 <span class="en">Reference</span></a></li> 552 </ul> 553 </li> 554 <li><a href="/google/play/billing/billing_subscriptions.html"> 555 <span class="en">Subscriptions</span></a> 556 </li> 557 <li><a href="/google/play/billing/billing_best_practices.html"> 558 <span class="en">Security and Design</span></a> 559 </li> 560 <li><a href="/google/play/billing/billing_testing.html"> 561 <span class="en">Testing In-app Billing</span></a> 562 </li> 563 <li><a href="/google/play/billing/billing_admin.html"> 564 <span class="en">Administering In-app Billing</span></a> 565 </li> 566 <li><a href="/google/play/billing/versions.html"> 567 <span class="en">Version Notes</span></a> 568 </li> 569 </ul> 570 </li> 571 572 573 574 <li class="nav-section"> 575 <div class="nav-section-header"><a href="/google/gcm/index.html"> 576 <span class="en">Google Cloud Messaging</span></a> 577 </div> 578 <ul> 579 <li><a href="/google/gcm/gcm.html"> 580 <span class="en">Overview</span></a> 581 </li> 582 <li><a href="/google/gcm/gs.html"> 583 <span class="en">Getting Started</span></a> 584 </li> 585 <li><a href="/google/gcm/client.html"> 586 <span class="en">Implementing GCM Client</span></a> 587 </li> 588 <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html"> 589 <span class="en">Implementing GCM Server</span></a></div> 590 <ul> 591 <li><a href="/google/gcm/ccs.html"> 592 <span class="en">CCS (XMPP)</span></a></li> 593 <li><a href="/google/gcm/http.html"> 594 <span class="en">HTTP</span></a></li> 595 </ul> 596 </li> 597 <li><a href="/google/gcm/notifications.html"> 598 <span class="en">User Notifications</span></a> 599 </li> 600 <li><a href="/google/gcm/adv.html"> 601 <span class="en">Advanced Topics</span></a> 602 </li> 603 <li><a href="/google/gcm/c2dm.html"> 604 <span class="en">Migration</span></a> 605 </li> 606 <li id="gcm-tree-list" class="nav-section"> 607 <div class="nav-section-header"> 608 <a href="/reference/gcm-packages.html"> 609 <span class="en">Reference</span> 610 </a> 611 <div> 612 </li> 613 </ul> 614 </li> 615 616 <li class="nav-section"> 617 <div class="nav-section-header empty"><a href="/google/gcs/index.html"> 618 <span class="en">Google Cloud Save</span></a> 619 </div> 620 </li> 621 622 <li class="nav-section"> 623 <div class="nav-section-header"><a href="/google/play/dist.html"> 624 <span class="en">Google Play Distribution</span></a> 625 </div> 626 <ul> 627 <li><a href="/google/play/filters.html"> 628 <span class="en">Filters on Google Play</span></a> 629 </li> 630 <li><a href="/google/play/billing/gp-purchase-status-api.html"> 631 <span class="en">Google Play Developer API</span></a> 632 </li> 633 <li><a href="/google/play/publishing/multiple-apks.html"> 634 <span class="en">Multiple APK Support</span></a> 635 </li> 636 <li><a href="/google/play/expansion-files.html"> 637 <span class="en">APK Expansion Files</span></a> 638 </li> 639 <li class="nav-section"> 640 <div class="nav-section-header"><a href="/google/play/licensing/index.html"> 641 <span class="en">Application Licensing</span></a> 642 </div> 643 <ul> 644 <li><a href="/google/play/licensing/overview.html"> 645 <span class="en">Licensing Overview</span></a> 646 </li> 647 <li><a href="/google/play/licensing/setting-up.html"> 648 <span class="en">Setting Up for Licensing</span></a> 649 </li> 650 <li><a href="/google/play/licensing/adding-licensing.html"> 651 <span class="en">Adding Licensing to Your App</span></a> 652 </li> 653 <li><a href="/google/play/licensing/licensing-reference.html"> 654 <span class="en">Licensing Reference</span></a> 655 </li> 656 </ul> 657 </li> 658 659 <li class="nav-section"> 660 <div class="nav-section-header"><a href="/google/backup/index.html"> 661 Android Backup Service</a> 662 </div> 663 <ul> 664 <li><a href="/google/backup/signup.html"> 665 Register</a> 666 </li> 667 </ul> 668 </li> 669 670 </ul> 671 672</li> 673 674 675 676</ul> 677 678<script type="text/javascript"> 679<!-- 680 buildToggleLists(); 681 changeNavLang(getLangPref()); 682//--> 683</script> 684 685 686 687 688 </div> 689 <script type="text/javascript"> 690 showGoogleRefTree(); 691 692 </script> 693 </div> <!-- end side-nav --> 694 <script> 695 $(document).ready(function() { 696 scrollIntoView("devdoc-nav"); 697 }); 698 </script> 699 700 701 702 703 704 705<div class="col-12" id="doc-col"> 706 707<div id="api-info-block"> 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753<div class="sum-details-links"> 754 755Summary: 756 757 758 759 760 761 762 <a href="#inhconstants">Inherited Constants</a> 763 764 765 766 | <a href="#lfields">Fields</a> 767 768 769 770 | <a href="#inhfields">Inherited Fields</a> 771 772 773 774 775 776 | <a href="#pubmethods">Methods</a> 777 778 779 780 781 | <a href="#inhmethods">Inherited Methods</a> 782 783| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 784 785</div><!-- end sum-details-links --> 786<div class="api-level"> 787 788 789 790 791</div> 792</div><!-- end api-info-block --> 793 794 795<!-- ======== START OF CLASS DATA ======== --> 796 797<div id="jd-header"> 798 public 799 800 final 801 802 class 803<h1 itemprop="name">QuestEntity</h1> 804 805 806 807 808 extends Object<br/> 809 810 811 812 813 814 815 implements 816 817 SafeParcelable 818 819 <a href="/reference/com/google/android/gms/games/quest/Quest.html">Quest</a> 820 821 822 823 824 825</div><!-- end header --> 826 827<div id="naMessage"></div> 828 829<div id="jd-content" class="api apilevel-"> 830<table class="jd-inheritance-table"> 831 832 833 <tr> 834 835 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> 836 </tr> 837 838 839 <tr> 840 841 <td class="jd-inheritance-space"> ↳</td> 842 843 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.games.quest.QuestEntity</td> 844 </tr> 845 846 847</table> 848 849 850 851 852 853 854 855<div class="jd-descr"> 856 857 858<h2>Class Overview</h2> 859<p itemprop="articleBody">Data object representing the data for a quest. This is immutable, and therefore safe 860 to cache or store. Note, however, that the data it represents may grow stale. 861 <p/> 862 This class exists solely to support parceling these objects and should not be used directly. 863</p> 864 865 866 867 868 869</div><!-- jd-descr --> 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886<div class="jd-descr"> 887 888 889<h2>Summary</h2> 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906<!-- =========== ENUM CONSTANT SUMMARY =========== --> 907<table id="inhconstants" class="jd-sumtable"><tr><th> 908 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 909 <div style="clear:left;">Inherited Constants</div></th></tr> 910 911 912 913 914<tr class="api apilevel-" > 915<td colspan="12"> 916 917 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.os.Parcelable" class="jd-expando-trigger closed" 918 ><img id="inherited-constants-android.os.Parcelable-trigger" 919 src="/assets/images/triangle-closed.png" 920 class="jd-expando-trigger-img" /></a>From interface 921android.os.Parcelable 922<div id="inherited-constants-android.os.Parcelable"> 923 <div id="inherited-constants-android.os.Parcelable-list" 924 class="jd-inheritedlinks"> 925 </div> 926 <div id="inherited-constants-android.os.Parcelable-summary" style="display: none;"> 927 <table class="jd-sumtable-expando"> 928 929 930 931 <tr class="alt-color api apilevel-" > 932 <td class="jd-typecol">int</td> 933 <td class="jd-linkcol">CONTENTS_FILE_DESCRIPTOR</td> 934 <td class="jd-descrcol" width="100%"></td> 935 </tr> 936 937 938 <tr class=" api apilevel-" > 939 <td class="jd-typecol">int</td> 940 <td class="jd-linkcol">PARCELABLE_WRITE_RETURN_VALUE</td> 941 <td class="jd-descrcol" width="100%"></td> 942 </tr> 943 944 945</table> 946 </div> 947</div> 948</td></tr> 949 950 951 952 953 954<tr class="api apilevel-" > 955<td colspan="12"> 956 957 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-com.google.android.gms.common.internal.safeparcel.SafeParcelable" class="jd-expando-trigger closed" 958 ><img id="inherited-constants-com.google.android.gms.common.internal.safeparcel.SafeParcelable-trigger" 959 src="/assets/images/triangle-closed.png" 960 class="jd-expando-trigger-img" /></a>From interface 961com.google.android.gms.common.internal.safeparcel.SafeParcelable 962<div id="inherited-constants-com.google.android.gms.common.internal.safeparcel.SafeParcelable"> 963 <div id="inherited-constants-com.google.android.gms.common.internal.safeparcel.SafeParcelable-list" 964 class="jd-inheritedlinks"> 965 </div> 966 <div id="inherited-constants-com.google.android.gms.common.internal.safeparcel.SafeParcelable-summary" style="display: none;"> 967 <table class="jd-sumtable-expando"> 968 969 970 971 <tr class="alt-color api apilevel-" > 972 <td class="jd-typecol">String</td> 973 <td class="jd-linkcol">NULL</td> 974 <td class="jd-descrcol" width="100%"></td> 975 </tr> 976 977 978</table> 979 </div> 980</div> 981</td></tr> 982 983 984 985<tr class="api apilevel-" > 986<td colspan="12"> 987 988 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-com.google.android.gms.games.quest.Quest" class="jd-expando-trigger closed" 989 ><img id="inherited-constants-com.google.android.gms.games.quest.Quest-trigger" 990 src="/assets/images/triangle-closed.png" 991 class="jd-expando-trigger-img" /></a>From interface 992<a href="/reference/com/google/android/gms/games/quest/Quest.html">com.google.android.gms.games.quest.Quest</a> 993<div id="inherited-constants-com.google.android.gms.games.quest.Quest"> 994 <div id="inherited-constants-com.google.android.gms.games.quest.Quest-list" 995 class="jd-inheritedlinks"> 996 </div> 997 <div id="inherited-constants-com.google.android.gms.games.quest.Quest-summary" style="display: none;"> 998 <table class="jd-sumtable-expando"> 999 1000 1001 1002 <tr class="alt-color api apilevel-" > 1003 <td class="jd-typecol">int</td> 1004 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_ACCEPTED">STATE_ACCEPTED</a></td> 1005 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating the player has accepted the quest.</td> 1006 </tr> 1007 1008 1009 <tr class=" api apilevel-" > 1010 <td class="jd-typecol">int</td> 1011 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_COMPLETED">STATE_COMPLETED</a></td> 1012 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating the player has completed the quest.</td> 1013 </tr> 1014 1015 1016 <tr class="alt-color api apilevel-" > 1017 <td class="jd-typecol">int</td> 1018 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_EXPIRED">STATE_EXPIRED</a></td> 1019 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating the quest is over and this player 1020 never accepted the quest.</td> 1021 </tr> 1022 1023 1024 <tr class=" api apilevel-" > 1025 <td class="jd-typecol">int</td> 1026 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_FAILED">STATE_FAILED</a></td> 1027 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating the quest is over and this player 1028 did not complete the quest.</td> 1029 </tr> 1030 1031 1032 <tr class="alt-color api apilevel-" > 1033 <td class="jd-typecol">int</td> 1034 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_OPEN">STATE_OPEN</a></td> 1035 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating players can now accept this quest.</td> 1036 </tr> 1037 1038 1039 <tr class=" api apilevel-" > 1040 <td class="jd-typecol">int</td> 1041 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_UPCOMING">STATE_UPCOMING</a></td> 1042 <td class="jd-descrcol" width="100%">Constant returned by <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState()</a></code> indicating the quest happens in the future, 1043 so it is visible to the UI, but players can't accept it yet.</td> 1044 </tr> 1045 1046 1047 <tr class="alt-color api apilevel-" > 1048 <td class="jd-typecol">long</td> 1049 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#UNSET_QUEST_TIMESTAMP">UNSET_QUEST_TIMESTAMP</a></td> 1050 <td class="jd-descrcol" width="100%">The default value for Quest related timestamps when they aren't set by the server.</td> 1051 </tr> 1052 1053 1054</table> 1055 </div> 1056</div> 1057</td></tr> 1058 1059 1060</table> 1061 1062 1063 1064 1065<!-- =========== FIELD SUMMARY =========== --> 1066<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> 1067 1068 1069 1070 <tr class="alt-color api apilevel-" > 1071 <td class="jd-typecol"><nobr> 1072 public 1073 static 1074 final 1075 QuestEntityCreator</nobr></td> 1076 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#CREATOR">CREATOR</a></td> 1077 <td class="jd-descrcol" width="100%"></td> 1078 </tr> 1079 1080 1081 1082</table> 1083 1084 1085 1086 1087 1088<!-- =========== FIELD SUMMARY =========== --> 1089<table id="inhfields" class="jd-sumtable"><tr><th> 1090 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1091 <div style="clear:left;">Inherited Fields</div></th></tr> 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102<tr class="api apilevel-" > 1103<td colspan="12"> 1104 1105 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-com.google.android.gms.games.quest.Quest" class="jd-expando-trigger closed" 1106 ><img id="inherited-fields-com.google.android.gms.games.quest.Quest-trigger" 1107 src="/assets/images/triangle-closed.png" 1108 class="jd-expando-trigger-img" /></a>From interface 1109<a href="/reference/com/google/android/gms/games/quest/Quest.html">com.google.android.gms.games.quest.Quest</a> 1110<div id="inherited-fields-com.google.android.gms.games.quest.Quest"> 1111 <div id="inherited-fields-com.google.android.gms.games.quest.Quest-list" 1112 class="jd-inheritedlinks"> 1113 </div> 1114 <div id="inherited-fields-com.google.android.gms.games.quest.Quest-summary" style="display: none;"> 1115 <table class="jd-sumtable-expando"> 1116 1117 1118 1119 <tr class="alt-color api apilevel-" > 1120 <td class="jd-typecol"><nobr> 1121 public 1122 static 1123 final 1124 int[]</nobr></td> 1125 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#QUEST_STATE_ALL">QUEST_STATE_ALL</a></td> 1126 <td class="jd-descrcol" width="100%">Array of all the valid state constants.</td> 1127 </tr> 1128 1129 1130 <tr class=" api apilevel-" > 1131 <td class="jd-typecol"><nobr> 1132 public 1133 static 1134 final 1135 String[]</nobr></td> 1136 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quest.html#QUEST_STATE_NON_TERMINAL">QUEST_STATE_NON_TERMINAL</a></td> 1137 <td class="jd-descrcol" width="100%"></td> 1138 </tr> 1139 1140 1141</table> 1142 </div> 1143</div> 1144</td></tr> 1145 1146 1147</table> 1148 1149 1150 1151 1152 1153 1154 1155 1156<!-- ========== METHOD SUMMARY =========== --> 1157<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> 1158 1159 1160 1161 1162 <tr class="alt-color api apilevel-" > 1163 <td class="jd-typecol"><nobr> 1164 1165 1166 1167 1168 1169 int</nobr> 1170 </td> 1171 <td class="jd-linkcol" width="100%"><nobr> 1172 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#describeContents()">describeContents</a></span>()</nobr> 1173 1174 </td></tr> 1175 1176 1177 1178 <tr class=" api apilevel-" > 1179 <td class="jd-typecol"><nobr> 1180 1181 1182 1183 1184 1185 boolean</nobr> 1186 </td> 1187 <td class="jd-linkcol" width="100%"><nobr> 1188 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#equals(java.lang.Object)">equals</a></span>(Object obj)</nobr> 1189 1190 </td></tr> 1191 1192 1193 1194 <tr class="alt-color api apilevel-" > 1195 <td class="jd-typecol"><nobr> 1196 1197 1198 1199 1200 1201 <a href="/reference/com/google/android/gms/games/quest/Quest.html">Quest</a></nobr> 1202 </td> 1203 <td class="jd-linkcol" width="100%"><nobr> 1204 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#freeze()">freeze</a></span>()</nobr> 1205 1206 <div class="jd-descrdiv">Freeze a volatile representation into an immutable representation.</div> 1207 1208 </td></tr> 1209 1210 1211 1212 <tr class=" api apilevel-" > 1213 <td class="jd-typecol"><nobr> 1214 1215 1216 1217 1218 1219 long</nobr> 1220 </td> 1221 <td class="jd-linkcol" width="100%"><nobr> 1222 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getAcceptedTimestamp()">getAcceptedTimestamp</a></span>()</nobr> 1223 1224 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest was accepted 1225 by the player.</div> 1226 1227 </td></tr> 1228 1229 1230 1231 <tr class="alt-color api apilevel-" > 1232 <td class="jd-typecol"><nobr> 1233 1234 1235 1236 1237 1238 Uri</nobr> 1239 </td> 1240 <td class="jd-linkcol" width="100%"><nobr> 1241 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getBannerImageUri()">getBannerImageUri</a></span>()</nobr> 1242 1243 <div class="jd-descrdiv">Retrieves a URI that can be used to load the quest's banner image.</div> 1244 1245 </td></tr> 1246 1247 1248 1249 <tr class=" api apilevel-" > 1250 <td class="jd-typecol"><nobr> 1251 1252 1253 1254 1255 1256 <a href="/reference/com/google/android/gms/games/quest/Milestone.html">Milestone</a></nobr> 1257 </td> 1258 <td class="jd-linkcol" width="100%"><nobr> 1259 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getCurrentMilestone()">getCurrentMilestone</a></span>()</nobr> 1260 1261 <div class="jd-descrdiv">Retrieves the latest milestone information associated with this quest.</div> 1262 1263 </td></tr> 1264 1265 1266 1267 <tr class="alt-color api apilevel-" > 1268 <td class="jd-typecol"><nobr> 1269 1270 1271 1272 1273 1274 String</nobr> 1275 </td> 1276 <td class="jd-linkcol" width="100%"><nobr> 1277 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getDescription()">getDescription</a></span>()</nobr> 1278 1279 <div class="jd-descrdiv">Retrieves the description for this quest.</div> 1280 1281 </td></tr> 1282 1283 1284 1285 <tr class=" api apilevel-" > 1286 <td class="jd-typecol"><nobr> 1287 1288 1289 1290 1291 1292 void</nobr> 1293 </td> 1294 <td class="jd-linkcol" width="100%"><nobr> 1295 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getDescription(android.database.CharArrayBuffer)">getDescription</a></span>(CharArrayBuffer dataOut)</nobr> 1296 1297 <div class="jd-descrdiv">Loads the quest description into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</div> 1298 1299 </td></tr> 1300 1301 1302 1303 <tr class="alt-color api apilevel-" > 1304 <td class="jd-typecol"><nobr> 1305 1306 1307 1308 1309 1310 long</nobr> 1311 </td> 1312 <td class="jd-linkcol" width="100%"><nobr> 1313 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getEndTimestamp()">getEndTimestamp</a></span>()</nobr> 1314 1315 <div class="jd-descrdiv">Timestamp at which this quest will change to STATE_EXPIRED if not accepted, 1316 or change to STATE_FAILED if accepted but not completed.</div> 1317 1318 </td></tr> 1319 1320 1321 1322 <tr class=" api apilevel-" > 1323 <td class="jd-typecol"><nobr> 1324 1325 1326 1327 1328 1329 <a href="/reference/com/google/android/gms/games/Game.html">Game</a></nobr> 1330 </td> 1331 <td class="jd-linkcol" width="100%"><nobr> 1332 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getGame()">getGame</a></span>()</nobr> 1333 1334 <div class="jd-descrdiv">Retrieves the game metadata associated with this quest.</div> 1335 1336 </td></tr> 1337 1338 1339 1340 <tr class="alt-color api apilevel-" > 1341 <td class="jd-typecol"><nobr> 1342 1343 1344 1345 1346 1347 Uri</nobr> 1348 </td> 1349 <td class="jd-linkcol" width="100%"><nobr> 1350 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getIconImageUri()">getIconImageUri</a></span>()</nobr> 1351 1352 <div class="jd-descrdiv">Retrieves a URI that can be used to load the quest's icon image.</div> 1353 1354 </td></tr> 1355 1356 1357 1358 <tr class=" api apilevel-" > 1359 <td class="jd-typecol"><nobr> 1360 1361 1362 1363 1364 1365 long</nobr> 1366 </td> 1367 <td class="jd-linkcol" width="100%"><nobr> 1368 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getLastUpdatedTimestamp()">getLastUpdatedTimestamp</a></span>()</nobr> 1369 1370 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest was last 1371 updated.</div> 1372 1373 </td></tr> 1374 1375 1376 1377 <tr class="alt-color api apilevel-" > 1378 <td class="jd-typecol"><nobr> 1379 1380 1381 1382 1383 1384 void</nobr> 1385 </td> 1386 <td class="jd-linkcol" width="100%"><nobr> 1387 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getName(android.database.CharArrayBuffer)">getName</a></span>(CharArrayBuffer dataOut)</nobr> 1388 1389 <div class="jd-descrdiv">Loads the quest name into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</div> 1390 1391 </td></tr> 1392 1393 1394 1395 <tr class=" api apilevel-" > 1396 <td class="jd-typecol"><nobr> 1397 1398 1399 1400 1401 1402 String</nobr> 1403 </td> 1404 <td class="jd-linkcol" width="100%"><nobr> 1405 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getName()">getName</a></span>()</nobr> 1406 1407 <div class="jd-descrdiv">Retrieves the name of this quest.</div> 1408 1409 </td></tr> 1410 1411 1412 1413 <tr class="alt-color api apilevel-" > 1414 <td class="jd-typecol"><nobr> 1415 1416 1417 1418 1419 1420 String</nobr> 1421 </td> 1422 <td class="jd-linkcol" width="100%"><nobr> 1423 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getQuestId()">getQuestId</a></span>()</nobr> 1424 1425 <div class="jd-descrdiv">Retrieves the ID of this quest.</div> 1426 1427 </td></tr> 1428 1429 1430 1431 <tr class=" api apilevel-" > 1432 <td class="jd-typecol"><nobr> 1433 1434 1435 1436 1437 1438 long</nobr> 1439 </td> 1440 <td class="jd-linkcol" width="100%"><nobr> 1441 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getStartTimestamp()">getStartTimestamp</a></span>()</nobr> 1442 1443 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest will be available 1444 for players to accept.</div> 1445 1446 </td></tr> 1447 1448 1449 1450 <tr class="alt-color api apilevel-" > 1451 <td class="jd-typecol"><nobr> 1452 1453 1454 1455 1456 1457 int</nobr> 1458 </td> 1459 <td class="jd-linkcol" width="100%"><nobr> 1460 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#getState()">getState</a></span>()</nobr> 1461 1462 <div class="jd-descrdiv">Retrieves the state of the quest - one of <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_UPCOMING">STATE_UPCOMING</a></code>, 1463 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_OPEN">STATE_OPEN</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_COMPLETED">STATE_COMPLETED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_EXPIRED">STATE_EXPIRED</a></code>, 1464 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_FAILED">STATE_FAILED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_ACCEPTED">STATE_ACCEPTED</a></code>.</div> 1465 1466 </td></tr> 1467 1468 1469 1470 <tr class=" api apilevel-" > 1471 <td class="jd-typecol"><nobr> 1472 1473 1474 1475 1476 1477 int</nobr> 1478 </td> 1479 <td class="jd-linkcol" width="100%"><nobr> 1480 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#hashCode()">hashCode</a></span>()</nobr> 1481 1482 </td></tr> 1483 1484 1485 1486 <tr class="alt-color api apilevel-" > 1487 <td class="jd-typecol"><nobr> 1488 1489 1490 1491 1492 1493 boolean</nobr> 1494 </td> 1495 <td class="jd-linkcol" width="100%"><nobr> 1496 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#isDataValid()">isDataValid</a></span>()</nobr> 1497 1498 <div class="jd-descrdiv">Check to see if this object is valid for use.</div> 1499 1500 </td></tr> 1501 1502 1503 1504 <tr class=" api apilevel-" > 1505 <td class="jd-typecol"><nobr> 1506 1507 1508 1509 1510 1511 boolean</nobr> 1512 </td> 1513 <td class="jd-linkcol" width="100%"><nobr> 1514 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#isEndingSoon()">isEndingSoon</a></span>()</nobr> 1515 1516 <div class="jd-descrdiv">Indicates whether the quest will be expiring soon</div> 1517 1518 </td></tr> 1519 1520 1521 1522 <tr class="alt-color api apilevel-" > 1523 <td class="jd-typecol"><nobr> 1524 1525 1526 1527 1528 1529 String</nobr> 1530 </td> 1531 <td class="jd-linkcol" width="100%"><nobr> 1532 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#toString()">toString</a></span>()</nobr> 1533 1534 </td></tr> 1535 1536 1537 1538 <tr class=" api apilevel-" > 1539 <td class="jd-typecol"><nobr> 1540 1541 1542 1543 1544 1545 void</nobr> 1546 </td> 1547 <td class="jd-linkcol" width="100%"><nobr> 1548 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/QuestEntity.html#writeToParcel(android.os.Parcel, int)">writeToParcel</a></span>(Parcel out, int flags)</nobr> 1549 1550 </td></tr> 1551 1552 1553 1554</table> 1555 1556 1557 1558 1559 1560 1561 1562<!-- ========== METHOD SUMMARY =========== --> 1563<table id="inhmethods" class="jd-sumtable"><tr><th> 1564 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1565 <div style="clear:left;">Inherited Methods</div></th></tr> 1566 1567 1568<tr class="api apilevel-" > 1569<td colspan="12"> 1570 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 1571 ><img id="inherited-methods-java.lang.Object-trigger" 1572 src="/assets/images/triangle-closed.png" 1573 class="jd-expando-trigger-img" /></a> 1574From class 1575 1576 java.lang.Object 1577 1578<div id="inherited-methods-java.lang.Object"> 1579 <div id="inherited-methods-java.lang.Object-list" 1580 class="jd-inheritedlinks"> 1581 </div> 1582 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 1583 <table class="jd-sumtable-expando"> 1584 1585 1586 1587 1588 <tr class="alt-color api apilevel-" > 1589 <td class="jd-typecol"><nobr> 1590 1591 1592 1593 1594 1595 Object</nobr> 1596 </td> 1597 <td class="jd-linkcol" width="100%"><nobr> 1598 <span class="sympad">clone</span>()</nobr> 1599 1600 </td></tr> 1601 1602 1603 1604 <tr class=" api apilevel-" > 1605 <td class="jd-typecol"><nobr> 1606 1607 1608 1609 1610 1611 boolean</nobr> 1612 </td> 1613 <td class="jd-linkcol" width="100%"><nobr> 1614 <span class="sympad">equals</span>(Object arg0)</nobr> 1615 1616 </td></tr> 1617 1618 1619 1620 <tr class="alt-color api apilevel-" > 1621 <td class="jd-typecol"><nobr> 1622 1623 1624 1625 1626 1627 void</nobr> 1628 </td> 1629 <td class="jd-linkcol" width="100%"><nobr> 1630 <span class="sympad">finalize</span>()</nobr> 1631 1632 </td></tr> 1633 1634 1635 1636 <tr class=" api apilevel-" > 1637 <td class="jd-typecol"><nobr> 1638 1639 1640 final 1641 1642 1643 Class<?></nobr> 1644 </td> 1645 <td class="jd-linkcol" width="100%"><nobr> 1646 <span class="sympad">getClass</span>()</nobr> 1647 1648 </td></tr> 1649 1650 1651 1652 <tr class="alt-color api apilevel-" > 1653 <td class="jd-typecol"><nobr> 1654 1655 1656 1657 1658 1659 int</nobr> 1660 </td> 1661 <td class="jd-linkcol" width="100%"><nobr> 1662 <span class="sympad">hashCode</span>()</nobr> 1663 1664 </td></tr> 1665 1666 1667 1668 <tr class=" api apilevel-" > 1669 <td class="jd-typecol"><nobr> 1670 1671 1672 final 1673 1674 1675 void</nobr> 1676 </td> 1677 <td class="jd-linkcol" width="100%"><nobr> 1678 <span class="sympad">notify</span>()</nobr> 1679 1680 </td></tr> 1681 1682 1683 1684 <tr class="alt-color api apilevel-" > 1685 <td class="jd-typecol"><nobr> 1686 1687 1688 final 1689 1690 1691 void</nobr> 1692 </td> 1693 <td class="jd-linkcol" width="100%"><nobr> 1694 <span class="sympad">notifyAll</span>()</nobr> 1695 1696 </td></tr> 1697 1698 1699 1700 <tr class=" api apilevel-" > 1701 <td class="jd-typecol"><nobr> 1702 1703 1704 1705 1706 1707 String</nobr> 1708 </td> 1709 <td class="jd-linkcol" width="100%"><nobr> 1710 <span class="sympad">toString</span>()</nobr> 1711 1712 </td></tr> 1713 1714 1715 1716 <tr class="alt-color api apilevel-" > 1717 <td class="jd-typecol"><nobr> 1718 1719 1720 final 1721 1722 1723 void</nobr> 1724 </td> 1725 <td class="jd-linkcol" width="100%"><nobr> 1726 <span class="sympad">wait</span>()</nobr> 1727 1728 </td></tr> 1729 1730 1731 1732 <tr class=" api apilevel-" > 1733 <td class="jd-typecol"><nobr> 1734 1735 1736 final 1737 1738 1739 void</nobr> 1740 </td> 1741 <td class="jd-linkcol" width="100%"><nobr> 1742 <span class="sympad">wait</span>(long arg0, int arg1)</nobr> 1743 1744 </td></tr> 1745 1746 1747 1748 <tr class="alt-color api apilevel-" > 1749 <td class="jd-typecol"><nobr> 1750 1751 1752 final 1753 1754 1755 void</nobr> 1756 </td> 1757 <td class="jd-linkcol" width="100%"><nobr> 1758 <span class="sympad">wait</span>(long arg0)</nobr> 1759 1760 </td></tr> 1761 1762 1763</table> 1764 </div> 1765</div> 1766</td></tr> 1767 1768 1769 1770<tr class="api apilevel-" > 1771<td colspan="12"> 1772 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.os.Parcelable" class="jd-expando-trigger closed" 1773 ><img id="inherited-methods-android.os.Parcelable-trigger" 1774 src="/assets/images/triangle-closed.png" 1775 class="jd-expando-trigger-img" /></a> 1776From interface 1777 1778 android.os.Parcelable 1779 1780<div id="inherited-methods-android.os.Parcelable"> 1781 <div id="inherited-methods-android.os.Parcelable-list" 1782 class="jd-inheritedlinks"> 1783 </div> 1784 <div id="inherited-methods-android.os.Parcelable-summary" style="display: none;"> 1785 <table class="jd-sumtable-expando"> 1786 1787 1788 1789 1790 <tr class="alt-color api apilevel-" > 1791 <td class="jd-typecol"><nobr> 1792 abstract 1793 1794 1795 1796 1797 int</nobr> 1798 </td> 1799 <td class="jd-linkcol" width="100%"><nobr> 1800 <span class="sympad">describeContents</span>()</nobr> 1801 1802 </td></tr> 1803 1804 1805 1806 <tr class=" api apilevel-" > 1807 <td class="jd-typecol"><nobr> 1808 abstract 1809 1810 1811 1812 1813 void</nobr> 1814 </td> 1815 <td class="jd-linkcol" width="100%"><nobr> 1816 <span class="sympad">writeToParcel</span>(Parcel arg0, int arg1)</nobr> 1817 1818 </td></tr> 1819 1820 1821</table> 1822 </div> 1823</div> 1824</td></tr> 1825 1826 1827 1828<tr class="api apilevel-" > 1829<td colspan="12"> 1830 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-com.google.android.gms.common.data.Freezable" class="jd-expando-trigger closed" 1831 ><img id="inherited-methods-com.google.android.gms.common.data.Freezable-trigger" 1832 src="/assets/images/triangle-closed.png" 1833 class="jd-expando-trigger-img" /></a> 1834From interface 1835 1836 <a href="/reference/com/google/android/gms/common/data/Freezable.html">com.google.android.gms.common.data.Freezable</a> 1837 1838<div id="inherited-methods-com.google.android.gms.common.data.Freezable"> 1839 <div id="inherited-methods-com.google.android.gms.common.data.Freezable-list" 1840 class="jd-inheritedlinks"> 1841 </div> 1842 <div id="inherited-methods-com.google.android.gms.common.data.Freezable-summary" style="display: none;"> 1843 <table class="jd-sumtable-expando"> 1844 1845 1846 1847 1848 <tr class="alt-color api apilevel-" > 1849 <td class="jd-typecol"><nobr> 1850 abstract 1851 1852 1853 1854 1855 T</nobr> 1856 </td> 1857 <td class="jd-linkcol" width="100%"><nobr> 1858 <span class="sympad"><a href="/reference/com/google/android/gms/common/data/Freezable.html#freeze()">freeze</a></span>()</nobr> 1859 1860 <div class="jd-descrdiv">Freeze a volatile representation into an immutable representation.</div> 1861 1862 </td></tr> 1863 1864 1865 1866 <tr class=" api apilevel-" > 1867 <td class="jd-typecol"><nobr> 1868 abstract 1869 1870 1871 1872 1873 boolean</nobr> 1874 </td> 1875 <td class="jd-linkcol" width="100%"><nobr> 1876 <span class="sympad"><a href="/reference/com/google/android/gms/common/data/Freezable.html#isDataValid()">isDataValid</a></span>()</nobr> 1877 1878 <div class="jd-descrdiv">Check to see if this object is valid for use.</div> 1879 1880 </td></tr> 1881 1882 1883</table> 1884 </div> 1885</div> 1886</td></tr> 1887 1888 1889 1890 1891 1892<tr class="api apilevel-" > 1893<td colspan="12"> 1894 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-com.google.android.gms.games.quest.Quest" class="jd-expando-trigger closed" 1895 ><img id="inherited-methods-com.google.android.gms.games.quest.Quest-trigger" 1896 src="/assets/images/triangle-closed.png" 1897 class="jd-expando-trigger-img" /></a> 1898From interface 1899 1900 <a href="/reference/com/google/android/gms/games/quest/Quest.html">com.google.android.gms.games.quest.Quest</a> 1901 1902<div id="inherited-methods-com.google.android.gms.games.quest.Quest"> 1903 <div id="inherited-methods-com.google.android.gms.games.quest.Quest-list" 1904 class="jd-inheritedlinks"> 1905 </div> 1906 <div id="inherited-methods-com.google.android.gms.games.quest.Quest-summary" style="display: none;"> 1907 <table class="jd-sumtable-expando"> 1908 1909 1910 1911 1912 <tr class="alt-color api apilevel-" > 1913 <td class="jd-typecol"><nobr> 1914 abstract 1915 1916 1917 1918 1919 long</nobr> 1920 </td> 1921 <td class="jd-linkcol" width="100%"><nobr> 1922 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getAcceptedTimestamp()">getAcceptedTimestamp</a></span>()</nobr> 1923 1924 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest was accepted 1925 by the player.</div> 1926 1927 </td></tr> 1928 1929 1930 1931 <tr class=" api apilevel-" > 1932 <td class="jd-typecol"><nobr> 1933 abstract 1934 1935 1936 1937 1938 Uri</nobr> 1939 </td> 1940 <td class="jd-linkcol" width="100%"><nobr> 1941 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getBannerImageUri()">getBannerImageUri</a></span>()</nobr> 1942 1943 <div class="jd-descrdiv">Retrieves a URI that can be used to load the quest's banner image.</div> 1944 1945 </td></tr> 1946 1947 1948 1949 <tr class="alt-color api apilevel-" > 1950 <td class="jd-typecol"><nobr> 1951 abstract 1952 1953 1954 1955 1956 <a href="/reference/com/google/android/gms/games/quest/Milestone.html">Milestone</a></nobr> 1957 </td> 1958 <td class="jd-linkcol" width="100%"><nobr> 1959 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getCurrentMilestone()">getCurrentMilestone</a></span>()</nobr> 1960 1961 <div class="jd-descrdiv">Retrieves the latest milestone information associated with this quest.</div> 1962 1963 </td></tr> 1964 1965 1966 1967 <tr class=" api apilevel-" > 1968 <td class="jd-typecol"><nobr> 1969 abstract 1970 1971 1972 1973 1974 String</nobr> 1975 </td> 1976 <td class="jd-linkcol" width="100%"><nobr> 1977 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getDescription()">getDescription</a></span>()</nobr> 1978 1979 <div class="jd-descrdiv">Retrieves the description for this quest.</div> 1980 1981 </td></tr> 1982 1983 1984 1985 <tr class="alt-color api apilevel-" > 1986 <td class="jd-typecol"><nobr> 1987 abstract 1988 1989 1990 1991 1992 void</nobr> 1993 </td> 1994 <td class="jd-linkcol" width="100%"><nobr> 1995 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getDescription(android.database.CharArrayBuffer)">getDescription</a></span>(CharArrayBuffer dataOut)</nobr> 1996 1997 <div class="jd-descrdiv">Loads the quest description into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</div> 1998 1999 </td></tr> 2000 2001 2002 2003 <tr class=" api apilevel-" > 2004 <td class="jd-typecol"><nobr> 2005 abstract 2006 2007 2008 2009 2010 long</nobr> 2011 </td> 2012 <td class="jd-linkcol" width="100%"><nobr> 2013 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getEndTimestamp()">getEndTimestamp</a></span>()</nobr> 2014 2015 <div class="jd-descrdiv">Timestamp at which this quest will change to STATE_EXPIRED if not accepted, 2016 or change to STATE_FAILED if accepted but not completed.</div> 2017 2018 </td></tr> 2019 2020 2021 2022 <tr class="alt-color api apilevel-" > 2023 <td class="jd-typecol"><nobr> 2024 abstract 2025 2026 2027 2028 2029 <a href="/reference/com/google/android/gms/games/Game.html">Game</a></nobr> 2030 </td> 2031 <td class="jd-linkcol" width="100%"><nobr> 2032 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getGame()">getGame</a></span>()</nobr> 2033 2034 <div class="jd-descrdiv">Retrieves the game metadata associated with this quest.</div> 2035 2036 </td></tr> 2037 2038 2039 2040 <tr class=" api apilevel-" > 2041 <td class="jd-typecol"><nobr> 2042 abstract 2043 2044 2045 2046 2047 Uri</nobr> 2048 </td> 2049 <td class="jd-linkcol" width="100%"><nobr> 2050 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getIconImageUri()">getIconImageUri</a></span>()</nobr> 2051 2052 <div class="jd-descrdiv">Retrieves a URI that can be used to load the quest's icon image.</div> 2053 2054 </td></tr> 2055 2056 2057 2058 <tr class="alt-color api apilevel-" > 2059 <td class="jd-typecol"><nobr> 2060 abstract 2061 2062 2063 2064 2065 long</nobr> 2066 </td> 2067 <td class="jd-linkcol" width="100%"><nobr> 2068 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getLastUpdatedTimestamp()">getLastUpdatedTimestamp</a></span>()</nobr> 2069 2070 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest was last 2071 updated.</div> 2072 2073 </td></tr> 2074 2075 2076 2077 <tr class=" api apilevel-" > 2078 <td class="jd-typecol"><nobr> 2079 abstract 2080 2081 2082 2083 2084 void</nobr> 2085 </td> 2086 <td class="jd-linkcol" width="100%"><nobr> 2087 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getName(android.database.CharArrayBuffer)">getName</a></span>(CharArrayBuffer dataOut)</nobr> 2088 2089 <div class="jd-descrdiv">Loads the quest name into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</div> 2090 2091 </td></tr> 2092 2093 2094 2095 <tr class="alt-color api apilevel-" > 2096 <td class="jd-typecol"><nobr> 2097 abstract 2098 2099 2100 2101 2102 String</nobr> 2103 </td> 2104 <td class="jd-linkcol" width="100%"><nobr> 2105 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getName()">getName</a></span>()</nobr> 2106 2107 <div class="jd-descrdiv">Retrieves the name of this quest.</div> 2108 2109 </td></tr> 2110 2111 2112 2113 <tr class=" api apilevel-" > 2114 <td class="jd-typecol"><nobr> 2115 abstract 2116 2117 2118 2119 2120 String</nobr> 2121 </td> 2122 <td class="jd-linkcol" width="100%"><nobr> 2123 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getQuestId()">getQuestId</a></span>()</nobr> 2124 2125 <div class="jd-descrdiv">Retrieves the ID of this quest.</div> 2126 2127 </td></tr> 2128 2129 2130 2131 <tr class="alt-color api apilevel-" > 2132 <td class="jd-typecol"><nobr> 2133 abstract 2134 2135 2136 2137 2138 long</nobr> 2139 </td> 2140 <td class="jd-linkcol" width="100%"><nobr> 2141 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getStartTimestamp()">getStartTimestamp</a></span>()</nobr> 2142 2143 <div class="jd-descrdiv">Retrieves the timestamp (in milliseconds since epoch) at which this quest will be available 2144 for players to accept.</div> 2145 2146 </td></tr> 2147 2148 2149 2150 <tr class=" api apilevel-" > 2151 <td class="jd-typecol"><nobr> 2152 abstract 2153 2154 2155 2156 2157 int</nobr> 2158 </td> 2159 <td class="jd-linkcol" width="100%"><nobr> 2160 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#getState()">getState</a></span>()</nobr> 2161 2162 <div class="jd-descrdiv">Retrieves the state of the quest - one of <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_UPCOMING">STATE_UPCOMING</a></code>, 2163 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_OPEN">STATE_OPEN</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_COMPLETED">STATE_COMPLETED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_EXPIRED">STATE_EXPIRED</a></code>, 2164 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_FAILED">STATE_FAILED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_ACCEPTED">STATE_ACCEPTED</a></code>.</div> 2165 2166 </td></tr> 2167 2168 2169 2170 <tr class="alt-color api apilevel-" > 2171 <td class="jd-typecol"><nobr> 2172 abstract 2173 2174 2175 2176 2177 boolean</nobr> 2178 </td> 2179 <td class="jd-linkcol" width="100%"><nobr> 2180 <span class="sympad"><a href="/reference/com/google/android/gms/games/quest/Quest.html#isEndingSoon()">isEndingSoon</a></span>()</nobr> 2181 2182 <div class="jd-descrdiv">Indicates whether the quest will be expiring soon</div> 2183 2184 </td></tr> 2185 2186 2187</table> 2188 </div> 2189</div> 2190</td></tr> 2191 2192 2193</table> 2194 2195 2196</div><!-- jd-descr (summary) --> 2197 2198<!-- Details --> 2199 2200 2201 2202 2203 2204 2205 2206 2207<!-- XML Attributes --> 2208 2209 2210<!-- Enum Values --> 2211 2212 2213<!-- Constants --> 2214 2215 2216<!-- Fields --> 2217 2218 2219<!-- ========= FIELD DETAIL ======== --> 2220<h2>Fields</h2> 2221 2222 2223 2224 2225<A NAME="CREATOR"></A> 2226 2227<div class="jd-details api apilevel-"> 2228 <h4 class="jd-details-title"> 2229 <span class="normal"> 2230 public 2231 static 2232 final 2233 QuestEntityCreator 2234 </span> 2235 CREATOR 2236 </h4> 2237 <div class="api-level"> 2238 2239 2240 2241 2242 </div> 2243 <div class="jd-details-descr"> 2244 2245 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2246 2247 2248 </div> 2249</div> 2250 2251 2252 2253 2254<!-- Public ctors --> 2255 2256 2257 2258<!-- ========= CONSTRUCTOR DETAIL ======== --> 2259<!-- Protected ctors --> 2260 2261 2262 2263<!-- ========= METHOD DETAIL ======== --> 2264<!-- Public methdos --> 2265 2266<h2>Public Methods</h2> 2267 2268 2269 2270<A NAME="describeContents()"></A> 2271 2272<div class="jd-details api apilevel-"> 2273 <h4 class="jd-details-title"> 2274 <span class="normal"> 2275 public 2276 2277 2278 2279 2280 int 2281 </span> 2282 <span class="sympad">describeContents</span> 2283 <span class="normal">()</span> 2284 </h4> 2285 <div class="api-level"> 2286 <div></div> 2287 2288 2289 2290 </div> 2291 <div class="jd-details-descr"> 2292 2293 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2294 2295 </div> 2296</div> 2297 2298 2299<A NAME="equals(java.lang.Object)"></A> 2300 2301<div class="jd-details api apilevel-"> 2302 <h4 class="jd-details-title"> 2303 <span class="normal"> 2304 public 2305 2306 2307 2308 2309 boolean 2310 </span> 2311 <span class="sympad">equals</span> 2312 <span class="normal">(Object obj)</span> 2313 </h4> 2314 <div class="api-level"> 2315 <div></div> 2316 2317 2318 2319 </div> 2320 <div class="jd-details-descr"> 2321 2322 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2323 2324 </div> 2325</div> 2326 2327 2328<A NAME="freeze()"></A> 2329 2330<div class="jd-details api apilevel-"> 2331 <h4 class="jd-details-title"> 2332 <span class="normal"> 2333 public 2334 2335 2336 2337 2338 <a href="/reference/com/google/android/gms/games/quest/Quest.html">Quest</a> 2339 </span> 2340 <span class="sympad">freeze</span> 2341 <span class="normal">()</span> 2342 </h4> 2343 <div class="api-level"> 2344 <div></div> 2345 2346 2347 2348 </div> 2349 <div class="jd-details-descr"> 2350 2351 <div class="jd-tagdata jd-tagdescr"><p>Freeze a volatile representation into an immutable representation. Objects returned from this 2352 call are safe to cache. 2353 <p> 2354 Note that the output of <code>freeze</code> may not be identical to the parent object, but should 2355 be equal. In other words: 2356 2357 <pre> 2358 <code> 2359 Freezable f1 = new Freezable(); 2360 Freezable f2 = f1.freeze(); 2361 f1 == f2 may not be true. 2362 f1.equals(f2) will be true. 2363 </code> 2364 </pre></p></div> 2365 <div class="jd-tagdata"> 2366 <h5 class="jd-tagtitle">Returns</h5> 2367 <ul class="nolist"><li>A concrete implementation of the data object. 2368</li></ul> 2369 </div> 2370 2371 </div> 2372</div> 2373 2374 2375<A NAME="getAcceptedTimestamp()"></A> 2376 2377<div class="jd-details api apilevel-"> 2378 <h4 class="jd-details-title"> 2379 <span class="normal"> 2380 public 2381 2382 2383 2384 2385 long 2386 </span> 2387 <span class="sympad">getAcceptedTimestamp</span> 2388 <span class="normal">()</span> 2389 </h4> 2390 <div class="api-level"> 2391 <div></div> 2392 2393 2394 2395 </div> 2396 <div class="jd-details-descr"> 2397 2398 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the timestamp (in milliseconds since epoch) at which this quest was accepted 2399 by the player. If the quest has never been accepted, this will return 2400 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#UNSET_QUEST_TIMESTAMP">UNSET_QUEST_TIMESTAMP</a></code>. If you are looking for the time that a quest is available 2401 to be accepted, see <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getStartTimestamp()">getStartTimestamp()</a></code>. This value should always be greater 2402 than <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getStartTimestamp()">getStartTimestamp()</a></code> and less than <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getEndTimestamp()">getEndTimestamp()</a></code></p></div> 2403 <div class="jd-tagdata"> 2404 <h5 class="jd-tagtitle">Returns</h5> 2405 <ul class="nolist"><li>Timestamp at which this quest was accepted. 2406</li></ul> 2407 </div> 2408 2409 </div> 2410</div> 2411 2412 2413<A NAME="getBannerImageUri()"></A> 2414 2415<div class="jd-details api apilevel-"> 2416 <h4 class="jd-details-title"> 2417 <span class="normal"> 2418 public 2419 2420 2421 2422 2423 Uri 2424 </span> 2425 <span class="sympad">getBannerImageUri</span> 2426 <span class="normal">()</span> 2427 </h4> 2428 <div class="api-level"> 2429 <div></div> 2430 2431 2432 2433 </div> 2434 <div class="jd-details-descr"> 2435 2436 <div class="jd-tagdata jd-tagdescr"><p>Retrieves a URI that can be used to load the quest's banner image. Returns null 2437 if the quest has no banner image. 2438 <p/> 2439 To retrieve the Image from the <code><a href="/reference/android/net/Uri.html">Uri</a></code>, use 2440 <code><a href="/reference/com/google/android/gms/common/images/ImageManager.html">ImageManager</a></code>.</p></div> 2441 <div class="jd-tagdata"> 2442 <h5 class="jd-tagtitle">Returns</h5> 2443 <ul class="nolist"><li>The image URI for the quest's banner image, or null if the quest 2444 has no banner image. 2445</li></ul> 2446 </div> 2447 2448 </div> 2449</div> 2450 2451 2452<A NAME="getCurrentMilestone()"></A> 2453 2454<div class="jd-details api apilevel-"> 2455 <h4 class="jd-details-title"> 2456 <span class="normal"> 2457 public 2458 2459 2460 2461 2462 <a href="/reference/com/google/android/gms/games/quest/Milestone.html">Milestone</a> 2463 </span> 2464 <span class="sympad">getCurrentMilestone</span> 2465 <span class="normal">()</span> 2466 </h4> 2467 <div class="api-level"> 2468 <div></div> 2469 2470 2471 2472 </div> 2473 <div class="jd-details-descr"> 2474 2475 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the latest milestone information associated with this quest.</p></div> 2476 <div class="jd-tagdata"> 2477 <h5 class="jd-tagtitle">Returns</h5> 2478 <ul class="nolist"><li>The latest milestone associated with this quest. 2479</li></ul> 2480 </div> 2481 2482 </div> 2483</div> 2484 2485 2486<A NAME="getDescription()"></A> 2487 2488<div class="jd-details api apilevel-"> 2489 <h4 class="jd-details-title"> 2490 <span class="normal"> 2491 public 2492 2493 2494 2495 2496 String 2497 </span> 2498 <span class="sympad">getDescription</span> 2499 <span class="normal">()</span> 2500 </h4> 2501 <div class="api-level"> 2502 <div></div> 2503 2504 2505 2506 </div> 2507 <div class="jd-details-descr"> 2508 2509 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the description for this quest.</p></div> 2510 <div class="jd-tagdata"> 2511 <h5 class="jd-tagtitle">Returns</h5> 2512 <ul class="nolist"><li>The quest description. 2513</li></ul> 2514 </div> 2515 2516 </div> 2517</div> 2518 2519 2520<A NAME="getDescription(android.database.CharArrayBuffer)"></A> 2521 2522<div class="jd-details api apilevel-"> 2523 <h4 class="jd-details-title"> 2524 <span class="normal"> 2525 public 2526 2527 2528 2529 2530 void 2531 </span> 2532 <span class="sympad">getDescription</span> 2533 <span class="normal">(CharArrayBuffer dataOut)</span> 2534 </h4> 2535 <div class="api-level"> 2536 <div></div> 2537 2538 2539 2540 </div> 2541 <div class="jd-details-descr"> 2542 2543 <div class="jd-tagdata jd-tagdescr"><p>Loads the quest description into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</p></div> 2544 <div class="jd-tagdata"> 2545 <h5 class="jd-tagtitle">Parameters</h5> 2546 <table class="jd-tagtable"> 2547 <tr> 2548 <th>dataOut</td> 2549 <td>The buffer to load the data into. 2550</td> 2551 </tr> 2552 </table> 2553 </div> 2554 2555 </div> 2556</div> 2557 2558 2559<A NAME="getEndTimestamp()"></A> 2560 2561<div class="jd-details api apilevel-"> 2562 <h4 class="jd-details-title"> 2563 <span class="normal"> 2564 public 2565 2566 2567 2568 2569 long 2570 </span> 2571 <span class="sympad">getEndTimestamp</span> 2572 <span class="normal">()</span> 2573 </h4> 2574 <div class="api-level"> 2575 <div></div> 2576 2577 2578 2579 </div> 2580 <div class="jd-details-descr"> 2581 2582 <div class="jd-tagdata jd-tagdescr"><p>Timestamp at which this quest will change to STATE_EXPIRED if not accepted, 2583 or change to STATE_FAILED if accepted but not completed.</p></div> 2584 <div class="jd-tagdata"> 2585 <h5 class="jd-tagtitle">Returns</h5> 2586 <ul class="nolist"><li>Timestamp at which this quest will end. 2587</li></ul> 2588 </div> 2589 2590 </div> 2591</div> 2592 2593 2594<A NAME="getGame()"></A> 2595 2596<div class="jd-details api apilevel-"> 2597 <h4 class="jd-details-title"> 2598 <span class="normal"> 2599 public 2600 2601 2602 2603 2604 <a href="/reference/com/google/android/gms/games/Game.html">Game</a> 2605 </span> 2606 <span class="sympad">getGame</span> 2607 <span class="normal">()</span> 2608 </h4> 2609 <div class="api-level"> 2610 <div></div> 2611 2612 2613 2614 </div> 2615 <div class="jd-details-descr"> 2616 2617 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the game metadata associated with this quest.</p></div> 2618 <div class="jd-tagdata"> 2619 <h5 class="jd-tagtitle">Returns</h5> 2620 <ul class="nolist"><li>The game associated with the quest. 2621</li></ul> 2622 </div> 2623 2624 </div> 2625</div> 2626 2627 2628<A NAME="getIconImageUri()"></A> 2629 2630<div class="jd-details api apilevel-"> 2631 <h4 class="jd-details-title"> 2632 <span class="normal"> 2633 public 2634 2635 2636 2637 2638 Uri 2639 </span> 2640 <span class="sympad">getIconImageUri</span> 2641 <span class="normal">()</span> 2642 </h4> 2643 <div class="api-level"> 2644 <div></div> 2645 2646 2647 2648 </div> 2649 <div class="jd-details-descr"> 2650 2651 <div class="jd-tagdata jd-tagdescr"><p>Retrieves a URI that can be used to load the quest's icon image. Returns null 2652 if the quest has no icon image. 2653 <p/> 2654 To retrieve the Image from the <code><a href="/reference/android/net/Uri.html">Uri</a></code>, use 2655 <code><a href="/reference/com/google/android/gms/common/images/ImageManager.html">ImageManager</a></code>.</p></div> 2656 <div class="jd-tagdata"> 2657 <h5 class="jd-tagtitle">Returns</h5> 2658 <ul class="nolist"><li>The image URI for the quest's icon image, or null if the quest 2659 has no icon image. 2660</li></ul> 2661 </div> 2662 2663 </div> 2664</div> 2665 2666 2667<A NAME="getLastUpdatedTimestamp()"></A> 2668 2669<div class="jd-details api apilevel-"> 2670 <h4 class="jd-details-title"> 2671 <span class="normal"> 2672 public 2673 2674 2675 2676 2677 long 2678 </span> 2679 <span class="sympad">getLastUpdatedTimestamp</span> 2680 <span class="normal">()</span> 2681 </h4> 2682 <div class="api-level"> 2683 <div></div> 2684 2685 2686 2687 </div> 2688 <div class="jd-details-descr"> 2689 2690 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the timestamp (in milliseconds since epoch) at which this quest was last 2691 updated. If the quest has never been updated, this will return 2692 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#UNSET_QUEST_TIMESTAMP">UNSET_QUEST_TIMESTAMP</a></code>.</p></div> 2693 <div class="jd-tagdata"> 2694 <h5 class="jd-tagtitle">Returns</h5> 2695 <ul class="nolist"><li>Timestamp at which this quest was last updated. 2696</li></ul> 2697 </div> 2698 2699 </div> 2700</div> 2701 2702 2703<A NAME="getName(android.database.CharArrayBuffer)"></A> 2704 2705<div class="jd-details api apilevel-"> 2706 <h4 class="jd-details-title"> 2707 <span class="normal"> 2708 public 2709 2710 2711 2712 2713 void 2714 </span> 2715 <span class="sympad">getName</span> 2716 <span class="normal">(CharArrayBuffer dataOut)</span> 2717 </h4> 2718 <div class="api-level"> 2719 <div></div> 2720 2721 2722 2723 </div> 2724 <div class="jd-details-descr"> 2725 2726 <div class="jd-tagdata jd-tagdescr"><p>Loads the quest name into the given <code><a href="/reference/android/database/CharArrayBuffer.html">CharArrayBuffer</a></code>.</p></div> 2727 <div class="jd-tagdata"> 2728 <h5 class="jd-tagtitle">Parameters</h5> 2729 <table class="jd-tagtable"> 2730 <tr> 2731 <th>dataOut</td> 2732 <td>The buffer to load the data into. 2733</td> 2734 </tr> 2735 </table> 2736 </div> 2737 2738 </div> 2739</div> 2740 2741 2742<A NAME="getName()"></A> 2743 2744<div class="jd-details api apilevel-"> 2745 <h4 class="jd-details-title"> 2746 <span class="normal"> 2747 public 2748 2749 2750 2751 2752 String 2753 </span> 2754 <span class="sympad">getName</span> 2755 <span class="normal">()</span> 2756 </h4> 2757 <div class="api-level"> 2758 <div></div> 2759 2760 2761 2762 </div> 2763 <div class="jd-details-descr"> 2764 2765 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the name of this quest.</p></div> 2766 <div class="jd-tagdata"> 2767 <h5 class="jd-tagtitle">Returns</h5> 2768 <ul class="nolist"><li>The quest name. 2769</li></ul> 2770 </div> 2771 2772 </div> 2773</div> 2774 2775 2776<A NAME="getQuestId()"></A> 2777 2778<div class="jd-details api apilevel-"> 2779 <h4 class="jd-details-title"> 2780 <span class="normal"> 2781 public 2782 2783 2784 2785 2786 String 2787 </span> 2788 <span class="sympad">getQuestId</span> 2789 <span class="normal">()</span> 2790 </h4> 2791 <div class="api-level"> 2792 <div></div> 2793 2794 2795 2796 </div> 2797 <div class="jd-details-descr"> 2798 2799 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the ID of this quest.</p></div> 2800 <div class="jd-tagdata"> 2801 <h5 class="jd-tagtitle">Returns</h5> 2802 <ul class="nolist"><li>The quest ID. 2803</li></ul> 2804 </div> 2805 2806 </div> 2807</div> 2808 2809 2810<A NAME="getStartTimestamp()"></A> 2811 2812<div class="jd-details api apilevel-"> 2813 <h4 class="jd-details-title"> 2814 <span class="normal"> 2815 public 2816 2817 2818 2819 2820 long 2821 </span> 2822 <span class="sympad">getStartTimestamp</span> 2823 <span class="normal">()</span> 2824 </h4> 2825 <div class="api-level"> 2826 <div></div> 2827 2828 2829 2830 </div> 2831 <div class="jd-details-descr"> 2832 2833 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the timestamp (in milliseconds since epoch) at which this quest will be available 2834 for players to accept. If you are looking for the time that a quest was accepted by the 2835 player, see <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#getAcceptedTimestamp()">getAcceptedTimestamp()</a></code></p></div> 2836 <div class="jd-tagdata"> 2837 <h5 class="jd-tagtitle">Returns</h5> 2838 <ul class="nolist"><li>Timestamp at which this quest will begin. 2839</li></ul> 2840 </div> 2841 2842 </div> 2843</div> 2844 2845 2846<A NAME="getState()"></A> 2847 2848<div class="jd-details api apilevel-"> 2849 <h4 class="jd-details-title"> 2850 <span class="normal"> 2851 public 2852 2853 2854 2855 2856 int 2857 </span> 2858 <span class="sympad">getState</span> 2859 <span class="normal">()</span> 2860 </h4> 2861 <div class="api-level"> 2862 <div></div> 2863 2864 2865 2866 </div> 2867 <div class="jd-details-descr"> 2868 2869 <div class="jd-tagdata jd-tagdescr"><p>Retrieves the state of the quest - one of <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_UPCOMING">STATE_UPCOMING</a></code>, 2870 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_OPEN">STATE_OPEN</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_COMPLETED">STATE_COMPLETED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_EXPIRED">STATE_EXPIRED</a></code>, 2871 <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_FAILED">STATE_FAILED</a></code>, <code><a href="/reference/com/google/android/gms/games/quest/Quest.html#STATE_ACCEPTED">STATE_ACCEPTED</a></code>.</p></div> 2872 <div class="jd-tagdata"> 2873 <h5 class="jd-tagtitle">Returns</h5> 2874 <ul class="nolist"><li>The state of this quest. 2875</li></ul> 2876 </div> 2877 2878 </div> 2879</div> 2880 2881 2882<A NAME="hashCode()"></A> 2883 2884<div class="jd-details api apilevel-"> 2885 <h4 class="jd-details-title"> 2886 <span class="normal"> 2887 public 2888 2889 2890 2891 2892 int 2893 </span> 2894 <span class="sympad">hashCode</span> 2895 <span class="normal">()</span> 2896 </h4> 2897 <div class="api-level"> 2898 <div></div> 2899 2900 2901 2902 </div> 2903 <div class="jd-details-descr"> 2904 2905 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2906 2907 </div> 2908</div> 2909 2910 2911<A NAME="isDataValid()"></A> 2912 2913<div class="jd-details api apilevel-"> 2914 <h4 class="jd-details-title"> 2915 <span class="normal"> 2916 public 2917 2918 2919 2920 2921 boolean 2922 </span> 2923 <span class="sympad">isDataValid</span> 2924 <span class="normal">()</span> 2925 </h4> 2926 <div class="api-level"> 2927 <div></div> 2928 2929 2930 2931 </div> 2932 <div class="jd-details-descr"> 2933 2934 <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 2935 will indicate whether or not the object can be safely used. The output of a call to 2936 <code><a href="/reference/com/google/android/gms/common/data/Freezable.html#freeze()">freeze()</a></code> will always be valid.</p></div> 2937 <div class="jd-tagdata"> 2938 <h5 class="jd-tagtitle">Returns</h5> 2939 <ul class="nolist"><li>whether or not the object is valid for use. 2940</li></ul> 2941 </div> 2942 2943 </div> 2944</div> 2945 2946 2947<A NAME="isEndingSoon()"></A> 2948 2949<div class="jd-details api apilevel-"> 2950 <h4 class="jd-details-title"> 2951 <span class="normal"> 2952 public 2953 2954 2955 2956 2957 boolean 2958 </span> 2959 <span class="sympad">isEndingSoon</span> 2960 <span class="normal">()</span> 2961 </h4> 2962 <div class="api-level"> 2963 <div></div> 2964 2965 2966 2967 </div> 2968 <div class="jd-details-descr"> 2969 2970 <div class="jd-tagdata jd-tagdescr"><p>Indicates whether the quest will be expiring soon</p></div> 2971 <div class="jd-tagdata"> 2972 <h5 class="jd-tagtitle">Returns</h5> 2973 <ul class="nolist"><li>Is the quest expiring soon. 2974</li></ul> 2975 </div> 2976 2977 </div> 2978</div> 2979 2980 2981<A NAME="toString()"></A> 2982 2983<div class="jd-details api apilevel-"> 2984 <h4 class="jd-details-title"> 2985 <span class="normal"> 2986 public 2987 2988 2989 2990 2991 String 2992 </span> 2993 <span class="sympad">toString</span> 2994 <span class="normal">()</span> 2995 </h4> 2996 <div class="api-level"> 2997 <div></div> 2998 2999 3000 3001 </div> 3002 <div class="jd-details-descr"> 3003 3004 <div class="jd-tagdata jd-tagdescr"><p></p></div> 3005 3006 </div> 3007</div> 3008 3009 3010<A NAME="writeToParcel(android.os.Parcel, int)"></A> 3011 3012<div class="jd-details api apilevel-"> 3013 <h4 class="jd-details-title"> 3014 <span class="normal"> 3015 public 3016 3017 3018 3019 3020 void 3021 </span> 3022 <span class="sympad">writeToParcel</span> 3023 <span class="normal">(Parcel out, int flags)</span> 3024 </h4> 3025 <div class="api-level"> 3026 <div></div> 3027 3028 3029 3030 </div> 3031 <div class="jd-details-descr"> 3032 3033 <div class="jd-tagdata jd-tagdescr"><p></p></div> 3034 3035 </div> 3036</div> 3037 3038 3039 3040 3041 3042<!-- ========= METHOD DETAIL ======== --> 3043 3044 3045 3046<!-- ========= END OF CLASS DATA ========= --> 3047<A NAME="navbar_top"></A> 3048 3049<div id="footer" class="wrap" > 3050 3051 3052 <div id="copyright"> 3053 3054 Except as noted, this content is licensed under <a 3055 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 3056 For details and restrictions, see the <a href="/license.html"> 3057 Content License</a>. 3058 </div> 3059 <div id="build_info"> 3060 3061<script src="/timestamp.js" type="text/javascript"></script> 3062<script>document.write(BUILD_TIMESTAMP)</script> 3063 3064 </div> 3065 3066 3067 <div id="footerlinks"> 3068 3069 <p> 3070 <a href="/about/index.html">About Android</a> | 3071 <a href="/legal.html">Legal</a> | 3072 <a href="/support.html">Support</a> 3073 </p> 3074 </div> 3075 3076</div> <!-- end footer --> 3077</div> <!-- jd-content --> 3078 3079</div><!-- end doc-content --> 3080 3081</div> <!-- end body-content --> 3082 3083 3084 3085 3086 3087 3088</body> 3089</html> 3090