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>GoogleAuthApiClientImpl | 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">GoogleAuthApiClientImpl</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<div class="sum-details-links"> 720 721Summary: 722 723 724 725 726 727 <a href="#constants">Constants</a> 728 729 730 731 732 733 734 | <a href="#pubctors">Ctors</a> 735 736 737 738 739 | <a href="#pubmethods">Methods</a> 740 741 742 743 | <a href="#promethods">Protected Methods</a> 744 745 746 747 | <a href="#inhmethods">Inherited Methods</a> 748 749| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 750 751</div><!-- end sum-details-links --> 752<div class="api-level"> 753 754 755 756 757</div> 758</div><!-- end api-info-block --> 759 760 761<!-- ======== START OF CLASS DATA ======== --> 762 763<div id="jd-header"> 764 public 765 766 final 767 768 class 769<h1 itemprop="name">GoogleAuthApiClientImpl</h1> 770 771 772 773 774 extends Object<br/> 775 776 777 778 779 780 781 782 783 784</div><!-- end header --> 785 786<div id="naMessage"></div> 787 788<div id="jd-content" class="api apilevel-"> 789<table class="jd-inheritance-table"> 790 791 792 <tr> 793 794 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> 795 </tr> 796 797 798 <tr> 799 800 <td class="jd-inheritance-space"> ↳</td> 801 802 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.auth.api.GoogleAuthApiClientImpl</td> 803 </tr> 804 805 806</table> 807 808 809 810 811 812 813 814<div class="jd-descr"> 815 816 817<h2>Class Overview</h2> 818<p itemprop="articleBody">Main public API entry point for the google auth api client. 819</p> 820 821 822 823 824 825</div><!-- jd-descr --> 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842<div class="jd-descr"> 843 844 845<h2>Summary</h2> 846 847 848 849 850 851 852 853 854 855 856 857 858 859<!-- =========== ENUM CONSTANT SUMMARY =========== --> 860<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> 861 862 863 864 <tr class="alt-color api apilevel-" > 865 <td class="jd-typecol">String</td> 866 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#ACTION_START_SERVICE">ACTION_START_SERVICE</a></td> 867 <td class="jd-descrcol" width="100%"></td> 868 </tr> 869 870 871 <tr class=" api apilevel-" > 872 <td class="jd-typecol">String</td> 873 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#DEFAULT_ACCOUNT">DEFAULT_ACCOUNT</a></td> 874 <td class="jd-descrcol" width="100%"></td> 875 </tr> 876 877 878 <tr class="alt-color api apilevel-" > 879 <td class="jd-typecol">String</td> 880 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#FEATURE_GOOGLE_ME">FEATURE_GOOGLE_ME</a></td> 881 <td class="jd-descrcol" width="100%"></td> 882 </tr> 883 884 885 <tr class=" api apilevel-" > 886 <td class="jd-typecol">String</td> 887 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#KEY_PENDING_INTENT">KEY_PENDING_INTENT</a></td> 888 <td class="jd-descrcol" width="100%"></td> 889 </tr> 890 891 892 <tr class="alt-color api apilevel-" > 893 <td class="jd-typecol">String</td> 894 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#SERVICE_DESCRIPTOR">SERVICE_DESCRIPTOR</a></td> 895 <td class="jd-descrcol" width="100%"></td> 896 </tr> 897 898 899 900</table> 901 902 903 904 905 906 907 908 909 910 911 912 913<!-- ======== CONSTRUCTOR SUMMARY ======== --> 914<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr> 915 916 917 918 919 <tr class="alt-color api apilevel-" > 920 <td class="jd-typecol"><nobr> 921 922 923 924 925 926 </nobr> 927 </td> 928 <td class="jd-linkcol" width="100%"><nobr> 929 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#GoogleAuthApiClientImpl(android.content.Context, com.google.android.gms.common.internal.ClientSettings, com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener, java.lang.String, java.lang.String[])">GoogleAuthApiClientImpl</a></span>(Context context, <a href="/reference/com/google/android/gms/common/internal/ClientSettings.html">ClientSettings</a> settings, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> connectedListener, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> connectionFailedListener, String accountName, String[] scopes)</nobr> 930 931 </td></tr> 932 933 934 935 <tr class=" api apilevel-" > 936 <td class="jd-typecol"><nobr> 937 938 939 940 941 942 </nobr> 943 </td> 944 <td class="jd-linkcol" width="100%"><nobr> 945 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#GoogleAuthApiClientImpl(android.content.Context, android.os.Looper, com.google.android.gms.common.internal.ClientSettings, com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener, java.lang.String, java.lang.String[])">GoogleAuthApiClientImpl</a></span>(Context context, Looper looper, <a href="/reference/com/google/android/gms/common/internal/ClientSettings.html">ClientSettings</a> settings, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> connectedListener, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> connectionFailedListener, String accountName, String[] scopes)</nobr> 946 947 </td></tr> 948 949 950 951</table> 952 953 954 955 956 957 958<!-- ========== METHOD SUMMARY =========== --> 959<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> 960 961 962 963 964 <tr class="alt-color api apilevel-" > 965 <td class="jd-typecol"><nobr> 966 967 968 969 970 971 void</nobr> 972 </td> 973 <td class="jd-linkcol" width="100%"><nobr> 974 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#connect()">connect</a></span>()</nobr> 975 976 </td></tr> 977 978 979 980 <tr class=" api apilevel-" > 981 <td class="jd-typecol"><nobr> 982 983 984 985 986 987 void</nobr> 988 </td> 989 <td class="jd-linkcol" width="100%"><nobr> 990 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#disconnect()">disconnect</a></span>()</nobr> 991 992 </td></tr> 993 994 995 996 <tr class="alt-color api apilevel-" > 997 <td class="jd-typecol"><nobr> 998 999 1000 1001 1002 1003 String</nobr> 1004 </td> 1005 <td class="jd-linkcol" width="100%"><nobr> 1006 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#getAccountName()">getAccountName</a></span>()</nobr> 1007 1008 </td></tr> 1009 1010 1011 1012 <tr class=" api apilevel-" > 1013 <td class="jd-typecol"><nobr> 1014 1015 1016 1017 1018 1019 Bundle</nobr> 1020 </td> 1021 <td class="jd-linkcol" width="100%"><nobr> 1022 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#getConnectionHint()">getConnectionHint</a></span>()</nobr> 1023 1024 <div class="jd-descrdiv">Get connection hint data to pass to clients in their 1025 <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html#onConnected(android.os.Bundle)">onConnected(Bundle)</a></code> 1026 methods.</div> 1027 1028 </td></tr> 1029 1030 1031 1032 <tr class="alt-color api apilevel-" > 1033 <td class="jd-typecol"><nobr> 1034 abstract 1035 1036 1037 1038 1039 Looper</nobr> 1040 </td> 1041 <td class="jd-linkcol" width="100%"><nobr> 1042 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#getLooper()">getLooper</a></span>()</nobr> 1043 1044 <div class="jd-descrdiv">Returns the <code>Looper</code> to use when invoking callbacks.</div> 1045 1046 </td></tr> 1047 1048 1049 1050 <tr class=" api apilevel-" > 1051 <td class="jd-typecol"><nobr> 1052 1053 1054 1055 1056 1057 boolean</nobr> 1058 </td> 1059 <td class="jd-linkcol" width="100%"><nobr> 1060 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#isConnected()">isConnected</a></span>()</nobr> 1061 1062 </td></tr> 1063 1064 1065 1066 <tr class="alt-color api apilevel-" > 1067 <td class="jd-typecol"><nobr> 1068 1069 1070 1071 1072 1073 boolean</nobr> 1074 </td> 1075 <td class="jd-linkcol" width="100%"><nobr> 1076 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#isConnecting()">isConnecting</a></span>()</nobr> 1077 1078 </td></tr> 1079 1080 1081 1082 <tr class=" api apilevel-" > 1083 <td class="jd-typecol"><nobr> 1084 1085 1086 1087 1088 1089 boolean</nobr> 1090 </td> 1091 <td class="jd-linkcol" width="100%"><nobr> 1092 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#isConnectionCallbacksRegistered(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)">isConnectionCallbacksRegistered</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</nobr> 1093 1094 </td></tr> 1095 1096 1097 1098 <tr class="alt-color api apilevel-" > 1099 <td class="jd-typecol"><nobr> 1100 1101 1102 1103 1104 1105 boolean</nobr> 1106 </td> 1107 <td class="jd-linkcol" width="100%"><nobr> 1108 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#isConnectionFailedListenerRegistered(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)">isConnectionFailedListenerRegistered</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</nobr> 1109 1110 </td></tr> 1111 1112 1113 1114 <tr class=" api apilevel-" > 1115 <td class="jd-typecol"><nobr> 1116 1117 1118 1119 1120 1121 void</nobr> 1122 </td> 1123 <td class="jd-linkcol" width="100%"><nobr> 1124 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#registerConnectionCallbacks(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)">registerConnectionCallbacks</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</nobr> 1125 1126 </td></tr> 1127 1128 1129 1130 <tr class="alt-color api apilevel-" > 1131 <td class="jd-typecol"><nobr> 1132 1133 1134 1135 1136 1137 void</nobr> 1138 </td> 1139 <td class="jd-linkcol" width="100%"><nobr> 1140 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#registerConnectionCallbacks(com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks)">registerConnectionCallbacks</a></span>(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> listener)</nobr> 1141 1142 </td></tr> 1143 1144 1145 1146 <tr class=" api apilevel-" > 1147 <td class="jd-typecol"><nobr> 1148 1149 1150 1151 1152 1153 void</nobr> 1154 </td> 1155 <td class="jd-linkcol" width="100%"><nobr> 1156 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#registerConnectionFailedListener(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)">registerConnectionFailedListener</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</nobr> 1157 1158 </td></tr> 1159 1160 1161 1162 <tr class="alt-color api apilevel-" > 1163 <td class="jd-typecol"><nobr> 1164 1165 1166 1167 1168 1169 void</nobr> 1170 </td> 1171 <td class="jd-linkcol" width="100%"><nobr> 1172 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#registerConnectionFailedListener(com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener)">registerConnectionFailedListener</a></span>(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> listener)</nobr> 1173 1174 </td></tr> 1175 1176 1177 1178 <tr class=" api apilevel-" > 1179 <td class="jd-typecol"><nobr> 1180 1181 1182 final 1183 1184 1185 void</nobr> 1186 </td> 1187 <td class="jd-linkcol" width="100%"><nobr> 1188 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#setService(T)">setService</a></span>(T extends IInterface service)</nobr> 1189 1190 <div class="jd-descrdiv">For testing, allow clients to explicitly set the service.</div> 1191 1192 </td></tr> 1193 1194 1195 1196 <tr class="alt-color api apilevel-" > 1197 <td class="jd-typecol"><nobr> 1198 1199 1200 1201 1202 1203 boolean</nobr> 1204 </td> 1205 <td class="jd-linkcol" width="100%"><nobr> 1206 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#shouldPerformConnectionCallbacks()">shouldPerformConnectionCallbacks</a></span>()</nobr> 1207 1208 </td></tr> 1209 1210 1211 1212 <tr class=" api apilevel-" > 1213 <td class="jd-typecol"><nobr> 1214 1215 1216 1217 1218 1219 void</nobr> 1220 </td> 1221 <td class="jd-linkcol" width="100%"><nobr> 1222 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#unregisterConnectionCallbacks(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)">unregisterConnectionCallbacks</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</nobr> 1223 1224 </td></tr> 1225 1226 1227 1228 <tr class="alt-color api apilevel-" > 1229 <td class="jd-typecol"><nobr> 1230 1231 1232 1233 1234 1235 void</nobr> 1236 </td> 1237 <td class="jd-linkcol" width="100%"><nobr> 1238 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#unregisterConnectionFailedListener(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)">unregisterConnectionFailedListener</a></span>(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</nobr> 1239 1240 </td></tr> 1241 1242 1243 1244</table> 1245 1246 1247 1248 1249<!-- ========== METHOD SUMMARY =========== --> 1250<table id="promethods" class="jd-sumtable"><tr><th colspan="12">Protected Methods</th></tr> 1251 1252 1253 1254 1255 <tr class="alt-color api apilevel-" > 1256 <td class="jd-typecol"><nobr> 1257 1258 1259 1260 1261 1262 <a href="/reference/com/google/android/gms/auth/api/IGoogleAuthService.html">IGoogleAuthService</a></nobr> 1263 </td> 1264 <td class="jd-linkcol" width="100%"><nobr> 1265 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#createServiceInterface(android.os.IBinder)">createServiceInterface</a></span>(IBinder iBinder)</nobr> 1266 1267 <div class="jd-descrdiv">Creates the service interface based on the given binder.</div> 1268 1269 </td></tr> 1270 1271 1272 1273 <tr class=" api apilevel-" > 1274 <td class="jd-typecol"><nobr> 1275 1276 1277 1278 1279 1280 String</nobr> 1281 </td> 1282 <td class="jd-linkcol" width="100%"><nobr> 1283 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#getServiceDescriptor()">getServiceDescriptor</a></span>()</nobr> 1284 1285 </td></tr> 1286 1287 1288 1289 <tr class="alt-color api apilevel-" > 1290 <td class="jd-typecol"><nobr> 1291 1292 1293 1294 1295 1296 String</nobr> 1297 </td> 1298 <td class="jd-linkcol" width="100%"><nobr> 1299 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#getStartServiceAction()">getStartServiceAction</a></span>()</nobr> 1300 1301 </td></tr> 1302 1303 1304 1305 <tr class=" api apilevel-" > 1306 <td class="jd-typecol"><nobr> 1307 1308 1309 1310 1311 1312 void</nobr> 1313 </td> 1314 <td class="jd-linkcol" width="100%"><nobr> 1315 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#onConnected()">onConnected</a></span>()</nobr> 1316 1317 <div class="jd-descrdiv">Called when connected.</div> 1318 1319 </td></tr> 1320 1321 1322 1323 <tr class="alt-color api apilevel-" > 1324 <td class="jd-typecol"><nobr> 1325 1326 1327 1328 1329 1330 void</nobr> 1331 </td> 1332 <td class="jd-linkcol" width="100%"><nobr> 1333 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#onDisconnected()">onDisconnected</a></span>()</nobr> 1334 1335 <div class="jd-descrdiv">Called when disconnected explicitly or the service connection is disconnected.</div> 1336 1337 </td></tr> 1338 1339 1340 1341 <tr class=" api apilevel-" > 1342 <td class="jd-typecol"><nobr> 1343 1344 1345 1346 1347 1348 void</nobr> 1349 </td> 1350 <td class="jd-linkcol" width="100%"><nobr> 1351 <span class="sympad"><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#onPostInitHandler(int, android.os.IBinder, android.os.Bundle)">onPostInitHandler</a></span>(int statusCode, IBinder service, Bundle resolution)</nobr> 1352 1353 <div class="jd-descrdiv">Callback invoked after the connection has been initialized, and before the GMS 1354 <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a></code> are invoked.</div> 1355 1356 </td></tr> 1357 1358 1359 1360</table> 1361 1362 1363 1364 1365 1366<!-- ========== METHOD SUMMARY =========== --> 1367<table id="inhmethods" class="jd-sumtable"><tr><th> 1368 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1369 <div style="clear:left;">Inherited Methods</div></th></tr> 1370 1371 1372<tr class="api apilevel-" > 1373<td colspan="12"> 1374 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 1375 ><img id="inherited-methods-java.lang.Object-trigger" 1376 src="/assets/images/triangle-closed.png" 1377 class="jd-expando-trigger-img" /></a> 1378From class 1379 1380 java.lang.Object 1381 1382<div id="inherited-methods-java.lang.Object"> 1383 <div id="inherited-methods-java.lang.Object-list" 1384 class="jd-inheritedlinks"> 1385 </div> 1386 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 1387 <table class="jd-sumtable-expando"> 1388 1389 1390 1391 1392 <tr class="alt-color api apilevel-" > 1393 <td class="jd-typecol"><nobr> 1394 1395 1396 1397 1398 1399 Object</nobr> 1400 </td> 1401 <td class="jd-linkcol" width="100%"><nobr> 1402 <span class="sympad">clone</span>()</nobr> 1403 1404 </td></tr> 1405 1406 1407 1408 <tr class=" api apilevel-" > 1409 <td class="jd-typecol"><nobr> 1410 1411 1412 1413 1414 1415 boolean</nobr> 1416 </td> 1417 <td class="jd-linkcol" width="100%"><nobr> 1418 <span class="sympad">equals</span>(Object arg0)</nobr> 1419 1420 </td></tr> 1421 1422 1423 1424 <tr class="alt-color api apilevel-" > 1425 <td class="jd-typecol"><nobr> 1426 1427 1428 1429 1430 1431 void</nobr> 1432 </td> 1433 <td class="jd-linkcol" width="100%"><nobr> 1434 <span class="sympad">finalize</span>()</nobr> 1435 1436 </td></tr> 1437 1438 1439 1440 <tr class=" api apilevel-" > 1441 <td class="jd-typecol"><nobr> 1442 1443 1444 final 1445 1446 1447 Class<?></nobr> 1448 </td> 1449 <td class="jd-linkcol" width="100%"><nobr> 1450 <span class="sympad">getClass</span>()</nobr> 1451 1452 </td></tr> 1453 1454 1455 1456 <tr class="alt-color api apilevel-" > 1457 <td class="jd-typecol"><nobr> 1458 1459 1460 1461 1462 1463 int</nobr> 1464 </td> 1465 <td class="jd-linkcol" width="100%"><nobr> 1466 <span class="sympad">hashCode</span>()</nobr> 1467 1468 </td></tr> 1469 1470 1471 1472 <tr class=" api apilevel-" > 1473 <td class="jd-typecol"><nobr> 1474 1475 1476 final 1477 1478 1479 void</nobr> 1480 </td> 1481 <td class="jd-linkcol" width="100%"><nobr> 1482 <span class="sympad">notify</span>()</nobr> 1483 1484 </td></tr> 1485 1486 1487 1488 <tr class="alt-color api apilevel-" > 1489 <td class="jd-typecol"><nobr> 1490 1491 1492 final 1493 1494 1495 void</nobr> 1496 </td> 1497 <td class="jd-linkcol" width="100%"><nobr> 1498 <span class="sympad">notifyAll</span>()</nobr> 1499 1500 </td></tr> 1501 1502 1503 1504 <tr class=" api apilevel-" > 1505 <td class="jd-typecol"><nobr> 1506 1507 1508 1509 1510 1511 String</nobr> 1512 </td> 1513 <td class="jd-linkcol" width="100%"><nobr> 1514 <span class="sympad">toString</span>()</nobr> 1515 1516 </td></tr> 1517 1518 1519 1520 <tr class="alt-color api apilevel-" > 1521 <td class="jd-typecol"><nobr> 1522 1523 1524 final 1525 1526 1527 void</nobr> 1528 </td> 1529 <td class="jd-linkcol" width="100%"><nobr> 1530 <span class="sympad">wait</span>()</nobr> 1531 1532 </td></tr> 1533 1534 1535 1536 <tr class=" api apilevel-" > 1537 <td class="jd-typecol"><nobr> 1538 1539 1540 final 1541 1542 1543 void</nobr> 1544 </td> 1545 <td class="jd-linkcol" width="100%"><nobr> 1546 <span class="sympad">wait</span>(long arg0, int arg1)</nobr> 1547 1548 </td></tr> 1549 1550 1551 1552 <tr class="alt-color api apilevel-" > 1553 <td class="jd-typecol"><nobr> 1554 1555 1556 final 1557 1558 1559 void</nobr> 1560 </td> 1561 <td class="jd-linkcol" width="100%"><nobr> 1562 <span class="sympad">wait</span>(long arg0)</nobr> 1563 1564 </td></tr> 1565 1566 1567</table> 1568 </div> 1569</div> 1570</td></tr> 1571 1572 1573</table> 1574 1575 1576</div><!-- jd-descr (summary) --> 1577 1578<!-- Details --> 1579 1580 1581 1582 1583 1584 1585 1586 1587<!-- XML Attributes --> 1588 1589 1590<!-- Enum Values --> 1591 1592 1593<!-- Constants --> 1594 1595 1596<!-- ========= ENUM CONSTANTS DETAIL ======== --> 1597<h2>Constants</h2> 1598 1599 1600 1601 1602<A NAME="ACTION_START_SERVICE"></A> 1603 1604<div class="jd-details api apilevel-"> 1605 <h4 class="jd-details-title"> 1606 <span class="normal"> 1607 public 1608 static 1609 final 1610 String 1611 </span> 1612 ACTION_START_SERVICE 1613 </h4> 1614 <div class="api-level"> 1615 1616 1617 1618 1619 </div> 1620 <div class="jd-details-descr"> 1621 1622 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1623 1624 1625 <div class="jd-tagdata"> 1626 <span class="jd-tagtitle">Constant Value: </span> 1627 <span> 1628 1629 "com.google.android.gms.auth.service.START" 1630 1631 </span> 1632 </div> 1633 1634 </div> 1635</div> 1636 1637 1638 1639<A NAME="DEFAULT_ACCOUNT"></A> 1640 1641<div class="jd-details api apilevel-"> 1642 <h4 class="jd-details-title"> 1643 <span class="normal"> 1644 protected 1645 static 1646 final 1647 String 1648 </span> 1649 DEFAULT_ACCOUNT 1650 </h4> 1651 <div class="api-level"> 1652 1653 1654 1655 1656 </div> 1657 <div class="jd-details-descr"> 1658 1659 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1660 1661 1662 <div class="jd-tagdata"> 1663 <span class="jd-tagtitle">Constant Value: </span> 1664 <span> 1665 1666 "<<default account>>" 1667 1668 </span> 1669 </div> 1670 1671 </div> 1672</div> 1673 1674 1675 1676<A NAME="FEATURE_GOOGLE_ME"></A> 1677 1678<div class="jd-details api apilevel-"> 1679 <h4 class="jd-details-title"> 1680 <span class="normal"> 1681 public 1682 static 1683 final 1684 String 1685 </span> 1686 FEATURE_GOOGLE_ME 1687 </h4> 1688 <div class="api-level"> 1689 1690 1691 1692 1693 </div> 1694 <div class="jd-details-descr"> 1695 1696 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1697 1698 1699 <div class="jd-tagdata"> 1700 <span class="jd-tagtitle">Constant Value: </span> 1701 <span> 1702 1703 "service_googleme" 1704 1705 </span> 1706 </div> 1707 1708 </div> 1709</div> 1710 1711 1712 1713<A NAME="KEY_PENDING_INTENT"></A> 1714 1715<div class="jd-details api apilevel-"> 1716 <h4 class="jd-details-title"> 1717 <span class="normal"> 1718 public 1719 static 1720 final 1721 String 1722 </span> 1723 KEY_PENDING_INTENT 1724 </h4> 1725 <div class="api-level"> 1726 1727 1728 1729 1730 </div> 1731 <div class="jd-details-descr"> 1732 1733 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1734 1735 1736 <div class="jd-tagdata"> 1737 <span class="jd-tagtitle">Constant Value: </span> 1738 <span> 1739 1740 "pendingIntent" 1741 1742 </span> 1743 </div> 1744 1745 </div> 1746</div> 1747 1748 1749 1750<A NAME="SERVICE_DESCRIPTOR"></A> 1751 1752<div class="jd-details api apilevel-"> 1753 <h4 class="jd-details-title"> 1754 <span class="normal"> 1755 public 1756 static 1757 final 1758 String 1759 </span> 1760 SERVICE_DESCRIPTOR 1761 </h4> 1762 <div class="api-level"> 1763 1764 1765 1766 1767 </div> 1768 <div class="jd-details-descr"> 1769 1770 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1771 1772 1773 <div class="jd-tagdata"> 1774 <span class="jd-tagtitle">Constant Value: </span> 1775 <span> 1776 1777 "com.google.android.gms.auth.api.IGoogleAuthService" 1778 1779 </span> 1780 </div> 1781 1782 </div> 1783</div> 1784 1785 1786 1787 1788<!-- Fields --> 1789 1790 1791<!-- Public ctors --> 1792 1793 1794<!-- ========= CONSTRUCTOR DETAIL ======== --> 1795<h2>Public Constructors</h2> 1796 1797 1798 1799<A NAME="GoogleAuthApiClientImpl(android.content.Context, com.google.android.gms.common.internal.ClientSettings, com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener, java.lang.String, java.lang.String[])"></A> 1800 1801<div class="jd-details api apilevel-"> 1802 <h4 class="jd-details-title"> 1803 <span class="normal"> 1804 public 1805 1806 1807 1808 1809 1810 </span> 1811 <span class="sympad">GoogleAuthApiClientImpl</span> 1812 <span class="normal">(Context context, <a href="/reference/com/google/android/gms/common/internal/ClientSettings.html">ClientSettings</a> settings, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> connectedListener, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> connectionFailedListener, String accountName, String[] scopes)</span> 1813 </h4> 1814 <div class="api-level"> 1815 <div></div> 1816 1817 1818 1819 </div> 1820 <div class="jd-details-descr"> 1821 1822 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1823 1824 </div> 1825</div> 1826 1827 1828<A NAME="GoogleAuthApiClientImpl(android.content.Context, android.os.Looper, com.google.android.gms.common.internal.ClientSettings, com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener, java.lang.String, java.lang.String[])"></A> 1829 1830<div class="jd-details api apilevel-"> 1831 <h4 class="jd-details-title"> 1832 <span class="normal"> 1833 public 1834 1835 1836 1837 1838 1839 </span> 1840 <span class="sympad">GoogleAuthApiClientImpl</span> 1841 <span class="normal">(Context context, Looper looper, <a href="/reference/com/google/android/gms/common/internal/ClientSettings.html">ClientSettings</a> settings, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> connectedListener, <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> connectionFailedListener, String accountName, String[] scopes)</span> 1842 </h4> 1843 <div class="api-level"> 1844 <div></div> 1845 1846 1847 1848 </div> 1849 <div class="jd-details-descr"> 1850 1851 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1852 1853 </div> 1854</div> 1855 1856 1857 1858 1859 1860<!-- ========= CONSTRUCTOR DETAIL ======== --> 1861<!-- Protected ctors --> 1862 1863 1864 1865<!-- ========= METHOD DETAIL ======== --> 1866<!-- Public methdos --> 1867 1868<h2>Public Methods</h2> 1869 1870 1871 1872<A NAME="connect()"></A> 1873 1874<div class="jd-details api apilevel-"> 1875 <h4 class="jd-details-title"> 1876 <span class="normal"> 1877 public 1878 1879 1880 1881 1882 void 1883 </span> 1884 <span class="sympad">connect</span> 1885 <span class="normal">()</span> 1886 </h4> 1887 <div class="api-level"> 1888 <div></div> 1889 1890 1891 1892 </div> 1893 <div class="jd-details-descr"> 1894 1895 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1896 1897 </div> 1898</div> 1899 1900 1901<A NAME="disconnect()"></A> 1902 1903<div class="jd-details api apilevel-"> 1904 <h4 class="jd-details-title"> 1905 <span class="normal"> 1906 public 1907 1908 1909 1910 1911 void 1912 </span> 1913 <span class="sympad">disconnect</span> 1914 <span class="normal">()</span> 1915 </h4> 1916 <div class="api-level"> 1917 <div></div> 1918 1919 1920 1921 </div> 1922 <div class="jd-details-descr"> 1923 1924 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1925 1926 </div> 1927</div> 1928 1929 1930<A NAME="getAccountName()"></A> 1931 1932<div class="jd-details api apilevel-"> 1933 <h4 class="jd-details-title"> 1934 <span class="normal"> 1935 public 1936 1937 1938 1939 1940 String 1941 </span> 1942 <span class="sympad">getAccountName</span> 1943 <span class="normal">()</span> 1944 </h4> 1945 <div class="api-level"> 1946 <div></div> 1947 1948 1949 1950 </div> 1951 <div class="jd-details-descr"> 1952 1953 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1954 1955 </div> 1956</div> 1957 1958 1959<A NAME="getConnectionHint()"></A> 1960 1961<div class="jd-details api apilevel-"> 1962 <h4 class="jd-details-title"> 1963 <span class="normal"> 1964 public 1965 1966 1967 1968 1969 Bundle 1970 </span> 1971 <span class="sympad">getConnectionHint</span> 1972 <span class="normal">()</span> 1973 </h4> 1974 <div class="api-level"> 1975 <div></div> 1976 1977 1978 1979 </div> 1980 <div class="jd-details-descr"> 1981 1982 <div class="jd-tagdata jd-tagdescr"><p>Get connection hint data to pass to clients in their 1983 <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html#onConnected(android.os.Bundle)">onConnected(Bundle)</a></code> 1984 methods. The base implementation simply returns null, but subclasses are free to override 1985 and provide whatever information is appropriate for their clients.</p></div> 1986 <div class="jd-tagdata"> 1987 <h5 class="jd-tagtitle">Returns</h5> 1988 <ul class="nolist"><li>service-specific Bundle of connection data. 1989</li></ul> 1990 </div> 1991 <div class="jd-tagdata"> 1992 <h5 class="jd-tagtitle">See Also</h5> 1993 <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html#onConnected(android.os.Bundle)">onConnected(Bundle)</a></code></li> 1994 </ul> 1995 </div> 1996 1997 </div> 1998</div> 1999 2000 2001<A NAME="getLooper()"></A> 2002 2003<div class="jd-details api apilevel-"> 2004 <h4 class="jd-details-title"> 2005 <span class="normal"> 2006 public 2007 2008 2009 abstract 2010 2011 Looper 2012 </span> 2013 <span class="sympad">getLooper</span> 2014 <span class="normal">()</span> 2015 </h4> 2016 <div class="api-level"> 2017 <div></div> 2018 2019 2020 2021 </div> 2022 <div class="jd-details-descr"> 2023 2024 <div class="jd-tagdata jd-tagdescr"><p>Returns the <code>Looper</code> to use when invoking callbacks. 2025</p></div> 2026 2027 </div> 2028</div> 2029 2030 2031<A NAME="isConnected()"></A> 2032 2033<div class="jd-details api apilevel-"> 2034 <h4 class="jd-details-title"> 2035 <span class="normal"> 2036 public 2037 2038 2039 2040 2041 boolean 2042 </span> 2043 <span class="sympad">isConnected</span> 2044 <span class="normal">()</span> 2045 </h4> 2046 <div class="api-level"> 2047 <div></div> 2048 2049 2050 2051 </div> 2052 <div class="jd-details-descr"> 2053 2054 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2055 2056 </div> 2057</div> 2058 2059 2060<A NAME="isConnecting()"></A> 2061 2062<div class="jd-details api apilevel-"> 2063 <h4 class="jd-details-title"> 2064 <span class="normal"> 2065 public 2066 2067 2068 2069 2070 boolean 2071 </span> 2072 <span class="sympad">isConnecting</span> 2073 <span class="normal">()</span> 2074 </h4> 2075 <div class="api-level"> 2076 <div></div> 2077 2078 2079 2080 </div> 2081 <div class="jd-details-descr"> 2082 2083 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2084 <div class="jd-tagdata"> 2085 <h5 class="jd-tagtitle">Returns</h5> 2086 <ul class="nolist"><li>true if <code><a href="/reference/com/google/android/gms/auth/api/GoogleAuthApiClientImpl.html#connect()">connect()</a></code> has been called, and the client is waiting for a callback. 2087</li></ul> 2088 </div> 2089 2090 </div> 2091</div> 2092 2093 2094<A NAME="isConnectionCallbacksRegistered(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)"></A> 2095 2096<div class="jd-details api apilevel-"> 2097 <h4 class="jd-details-title"> 2098 <span class="normal"> 2099 public 2100 2101 2102 2103 2104 boolean 2105 </span> 2106 <span class="sympad">isConnectionCallbacksRegistered</span> 2107 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</span> 2108 </h4> 2109 <div class="api-level"> 2110 <div></div> 2111 2112 2113 2114 </div> 2115 <div class="jd-details-descr"> 2116 2117 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2118 2119 </div> 2120</div> 2121 2122 2123<A NAME="isConnectionFailedListenerRegistered(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)"></A> 2124 2125<div class="jd-details api apilevel-"> 2126 <h4 class="jd-details-title"> 2127 <span class="normal"> 2128 public 2129 2130 2131 2132 2133 boolean 2134 </span> 2135 <span class="sympad">isConnectionFailedListenerRegistered</span> 2136 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</span> 2137 </h4> 2138 <div class="api-level"> 2139 <div></div> 2140 2141 2142 2143 </div> 2144 <div class="jd-details-descr"> 2145 2146 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2147 2148 </div> 2149</div> 2150 2151 2152<A NAME="registerConnectionCallbacks(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)"></A> 2153 2154<div class="jd-details api apilevel-"> 2155 <h4 class="jd-details-title"> 2156 <span class="normal"> 2157 public 2158 2159 2160 2161 2162 void 2163 </span> 2164 <span class="sympad">registerConnectionCallbacks</span> 2165 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</span> 2166 </h4> 2167 <div class="api-level"> 2168 <div></div> 2169 2170 2171 2172 </div> 2173 <div class="jd-details-descr"> 2174 2175 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2176 2177 </div> 2178</div> 2179 2180 2181<A NAME="registerConnectionCallbacks(com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks)"></A> 2182 2183<div class="jd-details api apilevel-"> 2184 <h4 class="jd-details-title"> 2185 <span class="normal"> 2186 public 2187 2188 2189 2190 2191 void 2192 </span> 2193 <span class="sympad">registerConnectionCallbacks</span> 2194 <span class="normal">(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a> listener)</span> 2195 </h4> 2196 <div class="api-level"> 2197 <div></div> 2198 2199 2200 2201 </div> 2202 <div class="jd-details-descr"> 2203 2204 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2205 2206 </div> 2207</div> 2208 2209 2210<A NAME="registerConnectionFailedListener(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)"></A> 2211 2212<div class="jd-details api apilevel-"> 2213 <h4 class="jd-details-title"> 2214 <span class="normal"> 2215 public 2216 2217 2218 2219 2220 void 2221 </span> 2222 <span class="sympad">registerConnectionFailedListener</span> 2223 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</span> 2224 </h4> 2225 <div class="api-level"> 2226 <div></div> 2227 2228 2229 2230 </div> 2231 <div class="jd-details-descr"> 2232 2233 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2234 2235 </div> 2236</div> 2237 2238 2239<A NAME="registerConnectionFailedListener(com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener)"></A> 2240 2241<div class="jd-details api apilevel-"> 2242 <h4 class="jd-details-title"> 2243 <span class="normal"> 2244 public 2245 2246 2247 2248 2249 void 2250 </span> 2251 <span class="sympad">registerConnectionFailedListener</span> 2252 <span class="normal">(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html">GoogleApiClient.OnConnectionFailedListener</a> listener)</span> 2253 </h4> 2254 <div class="api-level"> 2255 <div></div> 2256 2257 2258 2259 </div> 2260 <div class="jd-details-descr"> 2261 2262 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2263 2264 </div> 2265</div> 2266 2267 2268<A NAME="setService(T)"></A> 2269 2270<div class="jd-details api apilevel-"> 2271 <h4 class="jd-details-title"> 2272 <span class="normal"> 2273 public 2274 2275 final 2276 2277 2278 void 2279 </span> 2280 <span class="sympad">setService</span> 2281 <span class="normal">(T extends IInterface service)</span> 2282 </h4> 2283 <div class="api-level"> 2284 <div></div> 2285 2286 2287 2288 </div> 2289 <div class="jd-details-descr"> 2290 2291 <div class="jd-tagdata jd-tagdescr"><p>For testing, allow clients to explicitly set the service. 2292</p></div> 2293 2294 </div> 2295</div> 2296 2297 2298<A NAME="shouldPerformConnectionCallbacks()"></A> 2299 2300<div class="jd-details api apilevel-"> 2301 <h4 class="jd-details-title"> 2302 <span class="normal"> 2303 public 2304 2305 2306 2307 2308 boolean 2309 </span> 2310 <span class="sympad">shouldPerformConnectionCallbacks</span> 2311 <span class="normal">()</span> 2312 </h4> 2313 <div class="api-level"> 2314 <div></div> 2315 2316 2317 2318 </div> 2319 <div class="jd-details-descr"> 2320 2321 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2322 2323 </div> 2324</div> 2325 2326 2327<A NAME="unregisterConnectionCallbacks(com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks)"></A> 2328 2329<div class="jd-details api apilevel-"> 2330 <h4 class="jd-details-title"> 2331 <span class="normal"> 2332 public 2333 2334 2335 2336 2337 void 2338 </span> 2339 <span class="sympad">unregisterConnectionCallbacks</span> 2340 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html">GooglePlayServicesClient.ConnectionCallbacks</a> listener)</span> 2341 </h4> 2342 <div class="api-level"> 2343 <div></div> 2344 2345 2346 2347 </div> 2348 <div class="jd-details-descr"> 2349 2350 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2351 2352 </div> 2353</div> 2354 2355 2356<A NAME="unregisterConnectionFailedListener(com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener)"></A> 2357 2358<div class="jd-details api apilevel-"> 2359 <h4 class="jd-details-title"> 2360 <span class="normal"> 2361 public 2362 2363 2364 2365 2366 void 2367 </span> 2368 <span class="sympad">unregisterConnectionFailedListener</span> 2369 <span class="normal">(<a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html">GooglePlayServicesClient.OnConnectionFailedListener</a> listener)</span> 2370 </h4> 2371 <div class="api-level"> 2372 <div></div> 2373 2374 2375 2376 </div> 2377 <div class="jd-details-descr"> 2378 2379 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2380 2381 </div> 2382</div> 2383 2384 2385 2386 2387 2388<!-- ========= METHOD DETAIL ======== --> 2389 2390<h2>Protected Methods</h2> 2391 2392 2393 2394<A NAME="createServiceInterface(android.os.IBinder)"></A> 2395 2396<div class="jd-details api apilevel-"> 2397 <h4 class="jd-details-title"> 2398 <span class="normal"> 2399 protected 2400 2401 2402 2403 2404 <a href="/reference/com/google/android/gms/auth/api/IGoogleAuthService.html">IGoogleAuthService</a> 2405 </span> 2406 <span class="sympad">createServiceInterface</span> 2407 <span class="normal">(IBinder iBinder)</span> 2408 </h4> 2409 <div class="api-level"> 2410 <div></div> 2411 2412 2413 2414 </div> 2415 <div class="jd-details-descr"> 2416 2417 <div class="jd-tagdata jd-tagdescr"><p>Creates the service interface based on the given binder. The service descriptor will already 2418 have been verified.</p></div> 2419 <div class="jd-tagdata"> 2420 <h5 class="jd-tagtitle">Parameters</h5> 2421 <table class="jd-tagtable"> 2422 <tr> 2423 <th>iBinder</td> 2424 <td>The binder returned by the service connection.</td> 2425 </tr> 2426 </table> 2427 </div> 2428 <div class="jd-tagdata"> 2429 <h5 class="jd-tagtitle">Returns</h5> 2430 <ul class="nolist"><li>The service interface for this client.</li></ul> 2431 </div> 2432 2433 </div> 2434</div> 2435 2436 2437<A NAME="getServiceDescriptor()"></A> 2438 2439<div class="jd-details api apilevel-"> 2440 <h4 class="jd-details-title"> 2441 <span class="normal"> 2442 protected 2443 2444 2445 2446 2447 String 2448 </span> 2449 <span class="sympad">getServiceDescriptor</span> 2450 <span class="normal">()</span> 2451 </h4> 2452 <div class="api-level"> 2453 <div></div> 2454 2455 2456 2457 </div> 2458 <div class="jd-details-descr"> 2459 2460 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2461 <div class="jd-tagdata"> 2462 <h5 class="jd-tagtitle">Returns</h5> 2463 <ul class="nolist"><li>The descriptor String returned by the service to indicate a successful service 2464 connection.</li></ul> 2465 </div> 2466 2467 </div> 2468</div> 2469 2470 2471<A NAME="getStartServiceAction()"></A> 2472 2473<div class="jd-details api apilevel-"> 2474 <h4 class="jd-details-title"> 2475 <span class="normal"> 2476 protected 2477 2478 2479 2480 2481 String 2482 </span> 2483 <span class="sympad">getStartServiceAction</span> 2484 <span class="normal">()</span> 2485 </h4> 2486 <div class="api-level"> 2487 <div></div> 2488 2489 2490 2491 </div> 2492 <div class="jd-details-descr"> 2493 2494 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2495 <div class="jd-tagdata"> 2496 <h5 class="jd-tagtitle">Returns</h5> 2497 <ul class="nolist"><li>The intent action String to be used to start the service.</li></ul> 2498 </div> 2499 2500 </div> 2501</div> 2502 2503 2504<A NAME="onConnected()"></A> 2505 2506<div class="jd-details api apilevel-"> 2507 <h4 class="jd-details-title"> 2508 <span class="normal"> 2509 protected 2510 2511 2512 2513 2514 void 2515 </span> 2516 <span class="sympad">onConnected</span> 2517 <span class="normal">()</span> 2518 </h4> 2519 <div class="api-level"> 2520 <div></div> 2521 2522 2523 2524 </div> 2525 <div class="jd-details-descr"> 2526 2527 <div class="jd-tagdata jd-tagdescr"><p>Called when connected. Override this to do something in your client before clients are 2528 notified of connection. 2529</p></div> 2530 2531 </div> 2532</div> 2533 2534 2535<A NAME="onDisconnected()"></A> 2536 2537<div class="jd-details api apilevel-"> 2538 <h4 class="jd-details-title"> 2539 <span class="normal"> 2540 protected 2541 2542 2543 2544 2545 void 2546 </span> 2547 <span class="sympad">onDisconnected</span> 2548 <span class="normal">()</span> 2549 </h4> 2550 <div class="api-level"> 2551 <div></div> 2552 2553 2554 2555 </div> 2556 <div class="jd-details-descr"> 2557 2558 <div class="jd-tagdata jd-tagdescr"><p>Called when disconnected explicitly or the service connection is disconnected. Override this 2559 to do something in your client before clients are notified of disconnection. 2560</p></div> 2561 2562 </div> 2563</div> 2564 2565 2566<A NAME="onPostInitHandler(int, android.os.IBinder, android.os.Bundle)"></A> 2567 2568<div class="jd-details api apilevel-"> 2569 <h4 class="jd-details-title"> 2570 <span class="normal"> 2571 protected 2572 2573 2574 2575 2576 void 2577 </span> 2578 <span class="sympad">onPostInitHandler</span> 2579 <span class="normal">(int statusCode, IBinder service, Bundle resolution)</span> 2580 </h4> 2581 <div class="api-level"> 2582 <div></div> 2583 2584 2585 2586 </div> 2587 <div class="jd-details-descr"> 2588 2589 <div class="jd-tagdata jd-tagdescr"><p>Callback invoked after the connection has been initialized, and before the GMS 2590 <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html">GoogleApiClient.ConnectionCallbacks</a></code> are invoked. 2591</p></div> 2592 2593 </div> 2594</div> 2595 2596 2597 2598 2599 2600<!-- ========= END OF CLASS DATA ========= --> 2601<A NAME="navbar_top"></A> 2602 2603<div id="footer" class="wrap" > 2604 2605 2606 <div id="copyright"> 2607 2608 Except as noted, this content is licensed under <a 2609 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 2610 For details and restrictions, see the <a href="/license.html"> 2611 Content License</a>. 2612 </div> 2613 <div id="build_info"> 2614 2615<script src="/timestamp.js" type="text/javascript"></script> 2616<script>document.write(BUILD_TIMESTAMP)</script> 2617 2618 </div> 2619 2620 2621 <div id="footerlinks"> 2622 2623 <p> 2624 <a href="/about/index.html">About Android</a> | 2625 <a href="/legal.html">Legal</a> | 2626 <a href="/support.html">Support</a> 2627 </p> 2628 </div> 2629 2630</div> <!-- end footer --> 2631</div> <!-- jd-content --> 2632 2633</div><!-- end doc-content --> 2634 2635</div> <!-- end body-content --> 2636 2637 2638 2639 2640 2641 2642</body> 2643</html> 2644