1 <!DOCTYPE html> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 <html> 100 <head> 101 102 103 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 104 <meta name="viewport" content="width=device-width" /> 105 106 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> 107 <title>PlusShare | Android Developers</title> 108 109 <!-- STYLESHEETS --> 110 <link rel="stylesheet" 111 href="//fonts.googleapis.com/css?family=Roboto+Condensed"> 112 <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 113 title="roboto"> 114 <link href="/assets/css/default.css?v=4" rel="stylesheet" type="text/css"> 115 116 117 118 <!-- JAVASCRIPT --> 119 <script src="//www.google.com/jsapi" type="text/javascript"></script> 120 <script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> 121 <script type="text/javascript"> 122 var toRoot = "/"; 123 var metaTags = []; 124 var devsite = false; 125 </script> 126 <script src="/assets/js/docs.js?v=3" type="text/javascript"></script> 127 128 129 130 <script> 131 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 132 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 133 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 134 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 135 136 ga('create', 'UA-5831155-1', 'android.com'); 137 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 138 ga('send', 'pageview'); 139 ga('universal.send', 'pageview'); // Send page view for new tracker. 140 </script> 141 142 </head> 143 144 <body class="gc-documentation google 145 develop reference" itemscope itemtype="http://schema.org/Article"> 146 <div id="doc-api-level" class="" style="display:none"></div> 147 <a name="top"></a> 148 149 150 <a name="top"></a> 151 152 <!-- dialog to prompt lang pref change when loaded from hardcoded URL 153 <div id="langMessage" style="display:none"> 154 <div> 155 <div class="lang en"> 156 <p>You requested a page in English, would you like to proceed with this language setting?</p> 157 </div> 158 <div class="lang es"> 159 <p>You requested a page in Spanish (Espaol), would you like to proceed with this language setting?</p> 160 </div> 161 <div class="lang ja"> 162 <p>You requested a page in Japanese (), would you like to proceed with this language setting?</p> 163 </div> 164 <div class="lang ko"> 165 <p>You requested a page in Korean (), would you like to proceed with this language setting?</p> 166 </div> 167 <div class="lang ru"> 168 <p>You requested a page in Russian (), would you like to proceed with this language setting?</p> 169 </div> 170 <div class="lang zh-cn"> 171 <p>You requested a page in Simplified Chinese (), would you like to proceed with this language setting?</p> 172 </div> 173 <div class="lang zh-tw"> 174 <p>You requested a page in Traditional Chinese (), would you like to proceed with this language setting?</p> 175 </div> 176 <a href="#" class="button yes" onclick="return false;"> 177 <span class="lang en">Yes</span> 178 <span class="lang es">S</span> 179 <span class="lang ja">Yes</span> 180 <span class="lang ko">Yes</span> 181 <span class="lang ru">Yes</span> 182 <span class="lang zh-cn"></span> 183 <span class="lang zh-tw"></span> 184 </a> 185 <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> 186 <span class="lang en">No</span> 187 <span class="lang es">No</span> 188 <span class="lang ja">No</span> 189 <span class="lang ko">No</span> 190 <span class="lang ru">No</span> 191 <span class="lang zh-cn"></span> 192 <span class="lang zh-tw"></span> 193 </a> 194 </div> 195 </div> --> 196 197 198 <!-- Header --> 199 <div id="header-wrapper"> 200 <div id="header"> 201 202 203 204 205 <div class="wrap" id="header-wrap"> 206 <div class="col-3 logo"> 207 <a href="/index.html"> 208 <img src="/assets/images/dac_logo.png" 209 srcset="/assets/images/dac_logo (a] 2x.png 2x" 210 width="123" height="25" alt="Android Developers" /> 211 </a> 212 <div class="btn-quicknav" id="btn-quicknav"> 213 <a href="#" class="arrow-inactive">Quicknav</a> 214 <a href="#" class="arrow-active">Quicknav</a> 215 </div> 216 </div> 217 <ul class="nav-x col-9"> 218 <li class="design"> 219 <a href="/design/index.html" 220 zh-tw-lang="" 221 zh-cn-lang="" 222 ru-lang="" 223 ko-lang="" 224 ja-lang="" 225 es-lang="Disear" 226 >Design</a></li> 227 <li class="develop"><a href="/develop/index.html" 228 zh-tw-lang="" 229 zh-cn-lang="" 230 ru-lang="" 231 ko-lang="" 232 ja-lang="" 233 es-lang="Desarrollar" 234 >Develop</a></li> 235 <li class="distribute last"><a href="/distribute/index.html" 236 zh-tw-lang="" 237 zh-cn-lang="" 238 ru-lang="" 239 ko-lang="" 240 ja-lang="" 241 es-lang="Distribuir" 242 >Distribute</a></li> 243 </ul> 244 245 246 247 248 <div class="menu-container"> 249 <div class="moremenu"> 250 <div id="more-btn"></div> 251 </div> 252 <div class="morehover" id="moremenu"> 253 <div class="top"></div> 254 <div class="mid"> 255 <div class="header">Links</div> 256 <ul> 257 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> 258 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 259 <li><a href="/about/index.html">About Android</a></li> 260 </ul> 261 <div class="header">Android Sites</div> 262 <ul> 263 <li><a href="http://www.android.com">Android.com</a></li> 264 <li class="active"><a>Android Developers</a></li> 265 <li><a href="http://source.android.com">Android Open Source Project</a></li> 266 </ul> 267 268 269 270 <div class="header">Language</div> 271 <div id="language" class="locales"> 272 <select name="language" onChange="changeLangPref(this.value, true)"> 273 <option value="en">English</option> 274 <option value="es">Espaol</option> 275 <option value="ja"></option> 276 <option value="ko"></option> 277 <option value="ru"></option> 278 <option value="zh-cn">)</option> 279 <option value="zh-tw">)</option> 280 </select> 281 </div> 282 <script type="text/javascript"> 283 <!-- 284 loadLangPref(); 285 //--> 286 </script> 287 288 289 <br class="clearfix" /> 290 </div><!-- end 'mid' --> 291 <div class="bottom"></div> 292 </div><!-- end 'moremenu' --> 293 294 <div class="search" id="search-container"> 295 <div class="search-inner"> 296 <div id="search-btn"></div> 297 <div class="left"></div> 298 <form onsubmit="return submit_search()"> 299 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 300 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 301 onkeydown="return search_changed(event, true, '/')" 302 onkeyup="return search_changed(event, false, '/')" /> 303 </form> 304 <div class="right"></div> 305 <a class="close hide">close</a> 306 <div class="left"></div> 307 <div class="right"></div> 308 </div><!-- end search-inner --> 309 </div><!-- end search-container --> 310 311 <div class="search_filtered_wrapper reference"> 312 <div class="suggest-card reference no-display"> 313 <ul class="search_filtered"> 314 </ul> 315 </div> 316 </div> 317 318 <div class="search_filtered_wrapper docs"> 319 <div class="suggest-card dummy no-display"> </div> 320 <div class="suggest-card develop no-display"> 321 <ul class="search_filtered"> 322 </ul> 323 <div class="child-card guides no-display"> 324 </div> 325 <div class="child-card training no-display"> 326 </div> 327 <div class="child-card samples no-display"> 328 </div> 329 </div> 330 <div class="suggest-card design no-display"> 331 <ul class="search_filtered"> 332 </ul> 333 </div> 334 <div class="suggest-card distribute no-display"> 335 <ul class="search_filtered"> 336 </ul> 337 </div> 338 </div> 339 </div><!-- end menu-container (search and menu widget) --> 340 341 342 343 <!-- Expanded quicknav --> 344 <div id="quicknav" class="col-13"> 345 <ul> 346 <li class="about"> 347 <ul> 348 <li><a href="/about/index.html">About</a></li> 349 <li><a href="/wear/index.html">Wear</a></li> 350 <li><a href="/tv/index.html">TV</a></li> 351 <li><a href="/auto/index.html">Auto</a></li> 352 </ul> 353 </li> 354 <li class="design"> 355 <ul> 356 <li><a href="/design/index.html">Get Started</a></li> 357 <li><a href="/design/devices.html">Devices</a></li> 358 <li><a href="/design/style/index.html">Style</a></li> 359 <li><a href="/design/patterns/index.html">Patterns</a></li> 360 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> 361 <li><a href="/design/downloads/index.html">Downloads</a></li> 362 <li><a href="/design/videos/index.html">Videos</a></li> 363 </ul> 364 </li> 365 <li class="develop"> 366 <ul> 367 <li><a href="/training/index.html" 368 zh-tw-lang="" 369 zh-cn-lang="" 370 ru-lang="" 371 ko-lang="" 372 ja-lang="" 373 es-lang="Capacitacin" 374 >Training</a></li> 375 <li><a href="/guide/index.html" 376 zh-tw-lang="API " 377 zh-cn-lang="API " 378 ru-lang=" API" 379 ko-lang="API " 380 ja-lang="API " 381 es-lang="Guas de la API" 382 >API Guides</a></li> 383 <li><a href="/reference/packages.html" 384 zh-tw-lang="" 385 zh-cn-lang="" 386 ru-lang="" 387 ko-lang="" 388 ja-lang="" 389 es-lang="Referencia" 390 >Reference</a></li> 391 <li><a href="/sdk/index.html" 392 zh-tw-lang="" 393 zh-cn-lang="" 394 ru-lang="" 395 ko-lang="" 396 ja-lang="" 397 es-lang="Herramientas" 398 >Tools</a> 399 </li> 400 <li><a href="/google/index.html">Google Services</a> 401 </li> 402 403 <li><a href="/samples/index.html">Samples</a> 404 </li> 405 406 </ul> 407 </li> 408 <li class="distribute last"> 409 <ul> 410 <li><a href="/distribute/googleplay/index.html">Google Play</a></li> 411 <li><a href="/distribute/essentials/index.html">Essentials</a></li> 412 <li><a href="/distribute/users/index.html">Get Users</a></li> 413 <li><a href="/distribute/engage/index.html">Engage & Retain</a></li> 414 <li><a href="/distribute/monetize/index.html">Monetize</a></li> 415 <li><a href="/distribute/tools/index.html">Tools & Reference</a></li> 416 <li><a href="/distribute/stories/index.html">Developer Stories</a></li> 417 </ul> 418 </li> 419 </ul> 420 </div><!-- /Expanded quicknav --> 421 </div><!-- end header-wrap.wrap --> 422 </div><!-- end header --> 423 424 425 <!-- Secondary x-nav --> 426 <div id="nav-x"> 427 <div class="wrap" style="position:relative;z-index:1"> 428 429 430 431 432 433 <ul class="nav-x col-9 develop" style="width:100%"> 434 <li class="training"><a href="/training/index.html" 435 zh-tw-lang="" 436 zh-cn-lang="" 437 ru-lang="" 438 ko-lang="" 439 ja-lang="" 440 es-lang="Capacitacin" 441 >Training</a></li> 442 <li class="guide"><a href="/guide/index.html" 443 zh-tw-lang="API " 444 zh-cn-lang="API " 445 ru-lang=" API" 446 ko-lang="API " 447 ja-lang="API " 448 es-lang="Guas de la API" 449 >API Guides</a></li> 450 <li class="reference"><a href="/reference/packages.html" 451 zh-tw-lang="" 452 zh-cn-lang="" 453 ru-lang="" 454 ko-lang="" 455 ja-lang="" 456 es-lang="Referencia" 457 >Reference</a></li> 458 <li class="tools"><a href="/sdk/index.html" 459 zh-tw-lang="" 460 zh-cn-lang="" 461 ru-lang="" 462 ko-lang="" 463 ja-lang="" 464 es-lang="Herramientas" 465 >Tools</a></li> 466 <li class="google"><a href="/google/index.html" 467 >Google Services</a> 468 </li> 469 470 <li class="samples"><a href="/samples/index.html" 471 >Samples</a> 472 </li> 473 474 </ul> 475 </div> 476 </div> 477 <!-- /Sendondary x-nav DEVELOP --> 478 479 480 481 <div id="searchResults" class="wrap" style="display:none;"> 482 <h2 id="searchTitle">Results</h2> 483 <div id="leftSearchControl" class="search-control">Loading...</div> 484 </div> 485 </div> <!--end header-wrapper --> 486 487 <div id="sticky-header"> 488 <div> 489 <a class="logo" href="#top"></a> 490 <a class="top" href="#top"></a> 491 <ul class="breadcrumb"> 492 493 <li class="current">PlusShare</li> 494 </ul> 495 </div> 496 </div> 497 498 499 500 501 502 503 <div class="wrap clearfix" id="body-content"> 504 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 505 <div id="devdoc-nav" class="scroll-pane"> 506 507 508 509 <ul id="nav"> 510 511 <li class="nav-section"> 512 <div class="nav-section-header empty"><a href="/google/index.html"> 513 <span class="en">Overview</span> 514 </a></div> 515 </li> 516 517 <li class="nav-section"> 518 <div class="nav-section-header empty"><a href="/google/play-services/games.html"> 519 <span class="en">Games</span> 520 </a></div> 521 </li> 522 <li class="nav-section"> 523 <div class="nav-section-header empty"><a href="/google/play-services/location.html"> 524 <span class="en">Location</span> 525 </a></div> 526 </li> 527 <li class="nav-section"> 528 <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> 529 <span class="en">Google+</span> 530 </a></div> 531 </li> 532 <li class="nav-section"> 533 <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> 534 <span class="en">Maps</span> 535 </a></div> 536 </li> 537 <li class="nav-section"> 538 <div class="nav-section-header empty"><a href="/google/play-services/drive.html"> 539 <span class="en">Drive</span> 540 </a></div> 541 </li> 542 <li class="nav-section"> 543 <div class="nav-section-header empty"><a href="/google/play-services/cast.html"> 544 <span class="en">Cast</span> 545 </a></div> 546 </li> 547 <li class="nav-section"> 548 <div class="nav-section-header"><a href="/google/play-services/ads.html"> 549 <span class="en">Ads</span></a> 550 </div> 551 <ul> 552 <li><a href="/google/play-services/id.html"> 553 <span class="en">Advertising ID</span></a> 554 </li> 555 </ul> 556 </li> 557 <li class="nav-section"> 558 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> 559 <span class="en">Wallet</span> 560 </a></div> 561 </li> 562 563 564 <li class="nav-section"> 565 <div class="nav-section-header"><a href="/google/play-services/index.html"> 566 <span class="en">Google Play Services</span></a> 567 </div> 568 <ul> 569 <li><a href="/google/play-services/setup.html"> 570 <span class="en">Setting Up Google Play Services</span></a> 571 </li> 572 <li class="nav-section"> 573 <div class="nav-section-header"><a href="/google/auth/api-client.html"> 574 <span class="en">Accessing Google APIs</span></a> 575 </div> 576 <ul> 577 <li> 578 <a href="/google/auth/http-auth.html"> 579 <span class="en">Authorizing with Google for REST APIs</span> 580 </a> 581 </li> 582 </ul> 583 </li> 584 <li id="gms-tree-list" class="nav-section"> 585 <div class="nav-section-header"> 586 <a href="/reference/gms-packages.html"> 587 <span class="en">Reference</span> 588 </a> 589 <div> 590 </li> 591 </ul> 592 </li> 593 594 595 <li class="nav-section"> 596 <div class="nav-section-header"><a href="/google/play/billing/index.html"> 597 <span class="en">Google Play In-app Billing</span></a> 598 </div> 599 <ul> 600 <li><a href="/google/play/billing/billing_overview.html"> 601 <span class="en">Overview</span></a> 602 </li> 603 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html"> 604 <span class="en">Version 3 API</span></a></div> 605 <ul> 606 <li><a href="/google/play/billing/billing_integrate.html"> 607 <span class="en">Implementing the API</span></a></li> 608 <li><a href="/google/play/billing/billing_reference.html"> 609 <span class="en">Reference</span></a></li> 610 </ul> 611 </li> 612 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> 613 <span class="en">Version 2 API</span></a></div> 614 <ul> 615 <li><a href="/google/play/billing/v2/billing_integrate.html"> 616 <span class="en">Implementing the API</span></a></li> 617 <li><a href="/google/play/billing/v2/billing_subscriptions.html"> 618 <span class="en">Subscriptions</span></a></li> 619 <li><a href="/google/play/billing/v2/billing_reference.html"> 620 <span class="en">Reference</span></a></li> 621 </ul> 622 </li> 623 <li><a href="/google/play/billing/billing_subscriptions.html"> 624 <span class="en">Subscriptions</span></a> 625 </li> 626 <li><a href="/google/play/billing/billing_best_practices.html"> 627 <span class="en">Security and Design</span></a> 628 </li> 629 <li><a href="/google/play/billing/billing_testing.html"> 630 <span class="en">Testing In-app Billing</span></a> 631 </li> 632 <li><a href="/google/play/billing/billing_admin.html"> 633 <span class="en">Administering In-app Billing</span></a> 634 </li> 635 <li><a href="/google/play/billing/versions.html"> 636 <span class="en">Version Notes</span></a> 637 </li> 638 </ul> 639 </li> 640 641 642 643 <li class="nav-section"> 644 <div class="nav-section-header"><a href="/google/gcm/index.html"> 645 <span class="en">Google Cloud Messaging</span></a> 646 </div> 647 <ul> 648 <li><a href="/google/gcm/gcm.html"> 649 <span class="en">Overview</span></a> 650 </li> 651 <li><a href="/google/gcm/gs.html"> 652 <span class="en">Getting Started</span></a> 653 </li> 654 <li><a href="/google/gcm/client.html"> 655 <span class="en">Implementing GCM Client</span></a> 656 </li> 657 <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html"> 658 <span class="en">Implementing GCM Server</span></a></div> 659 <ul> 660 <li><a href="/google/gcm/ccs.html"> 661 <span class="en">CCS (XMPP)</span></a></li> 662 <li><a href="/google/gcm/http.html"> 663 <span class="en">HTTP</span></a></li> 664 </ul> 665 </li> 666 <li><a href="/google/gcm/notifications.html"> 667 <span class="en">User Notifications</span></a> 668 </li> 669 <li><a href="/google/gcm/adv.html"> 670 <span class="en">Advanced Topics</span></a> 671 </li> 672 <li><a href="/google/gcm/c2dm.html"> 673 <span class="en">Migration</span></a> 674 </li> 675 <li id="gcm-tree-list" class="nav-section"> 676 <div class="nav-section-header"> 677 <a href="/reference/gcm-packages.html"> 678 <span class="en">Reference</span> 679 </a> 680 <div> 681 </li> 682 </ul> 683 </li> 684 685 <li class="nav-section"> 686 <div class="nav-section-header empty"><a href="/google/gcs/index.html"> 687 <span class="en">Google Cloud Save</span></a> 688 </div> 689 </li> 690 691 <li class="nav-section"> 692 <div class="nav-section-header"><a href="/google/play/dist.html"> 693 <span class="en">Google Play Distribution</span></a> 694 </div> 695 <ul> 696 <li><a href="/google/play/filters.html"> 697 <span class="en">Filters on Google Play</span></a> 698 </li> 699 <li><a href="/google/play/billing/gp-purchase-status-api.html"> 700 <span class="en">Google Play Developer API</span></a> 701 </li> 702 <li><a href="/google/play/publishing/multiple-apks.html"> 703 <span class="en">Multiple APK Support</span></a> 704 </li> 705 <li><a href="/google/play/expansion-files.html"> 706 <span class="en">APK Expansion Files</span></a> 707 </li> 708 <li class="nav-section"> 709 <div class="nav-section-header"><a href="/google/play/licensing/index.html"> 710 <span class="en">Application Licensing</span></a> 711 </div> 712 <ul> 713 <li><a href="/google/play/licensing/overview.html"> 714 <span class="en">Licensing Overview</span></a> 715 </li> 716 <li><a href="/google/play/licensing/setting-up.html"> 717 <span class="en">Setting Up for Licensing</span></a> 718 </li> 719 <li><a href="/google/play/licensing/adding-licensing.html"> 720 <span class="en">Adding Licensing to Your App</span></a> 721 </li> 722 <li><a href="/google/play/licensing/licensing-reference.html"> 723 <span class="en">Licensing Reference</span></a> 724 </li> 725 </ul> 726 </li> 727 728 <li class="nav-section"> 729 <div class="nav-section-header"><a href="/google/backup/index.html"> 730 Android Backup Service</a> 731 </div> 732 <ul> 733 <li><a href="/google/backup/signup.html"> 734 Register</a> 735 </li> 736 </ul> 737 </li> 738 739 </ul> 740 741 </li> 742 743 744 745 </ul> 746 747 <script type="text/javascript"> 748 <!-- 749 buildToggleLists(); 750 changeNavLang(getLangPref()); 751 //--> 752 </script> 753 754 755 756 757 </div> 758 <script type="text/javascript"> 759 showGoogleRefTree(); 760 761 </script> 762 </div> <!-- end side-nav --> 763 <script> 764 $(document).ready(function() { 765 scrollIntoView("devdoc-nav"); 766 }); 767 </script> 768 769 770 771 772 773 774 <div class="col-12" id="doc-col"> 775 776 <div id="api-info-block"> 777 778 779 780 781 782 783 784 785 786 787 788 <div class="sum-details-links"> 789 790 Summary: 791 792 <a href="#nestedclasses">Nested Classes</a> 793 794 795 796 797 798 799 | <a href="#constants">Constants</a> 800 801 802 803 804 805 806 807 | <a href="#proctors">Protected Ctors</a> 808 809 810 811 | <a href="#pubmethods">Methods</a> 812 813 814 815 816 | <a href="#inhmethods">Inherited Methods</a> 817 818 | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 819 820 </div><!-- end sum-details-links --> 821 <div class="api-level"> 822 823 824 825 826 </div> 827 </div><!-- end api-info-block --> 828 829 830 <!-- ======== START OF CLASS DATA ======== --> 831 832 <div id="jd-header"> 833 public 834 835 final 836 837 class 838 <h1 itemprop="name">PlusShare</h1> 839 840 841 842 843 extends Object<br/> 844 845 846 847 848 849 850 851 852 853 854 855 856 </div><!-- end header --> 857 858 <div id="naMessage"></div> 859 860 <div id="jd-content" class="api apilevel-"> 861 <table class="jd-inheritance-table"> 862 863 864 <tr> 865 866 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> 867 </tr> 868 869 870 <tr> 871 872 <td class="jd-inheritance-space"> ↳</td> 873 874 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.plus.PlusShare</td> 875 </tr> 876 877 878 </table> 879 880 881 882 883 884 885 886 <div class="jd-descr"> 887 888 889 <h2>Class Overview</h2> 890 <p itemprop="articleBody">Utility class for including resources in posts shared on Google+ through 891 an <code><a href="/reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> intent. 892 </p> 893 894 895 896 897 898 </div><!-- jd-descr --> 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 <div class="jd-descr"> 916 917 918 <h2>Summary</h2> 919 920 921 922 <!-- ======== NESTED CLASS SUMMARY ======== --> 923 <table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr> 924 925 926 927 <tr class="alt-color api apilevel-" > 928 <td class="jd-typecol"><nobr> 929 930 931 932 933 class</nobr></td> 934 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.Builder.html">PlusShare.Builder</a></td> 935 <td class="jd-descrcol" width="100%"> 936 937 938 939 940 </td> 941 </tr> 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 <!-- =========== ENUM CONSTANT SUMMARY =========== --> 958 <table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> 959 960 961 962 <tr class="alt-color api apilevel-" > 963 <td class="jd-typecol">String</td> 964 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CALL_TO_ACTION">EXTRA_CALL_TO_ACTION</a></td> 965 <td class="jd-descrcol" width="100%"> 966 Used as a bundle extra field to describe a call-to-action button for a post on Google+. 967 968 969 970 </td> 971 </tr> 972 973 974 <tr class=" api apilevel-" > 975 <td class="jd-typecol">String</td> 976 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_ID">EXTRA_CONTENT_DEEP_LINK_ID</a></td> 977 <td class="jd-descrcol" width="100%"> 978 Used as a string extra field in <code><a href="/reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> intents to 979 specify a resource to be shared on Google+. 980 981 982 983 </td> 984 </tr> 985 986 987 <tr class="alt-color api apilevel-" > 988 <td class="jd-typecol">String</td> 989 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_METADATA">EXTRA_CONTENT_DEEP_LINK_METADATA</a></td> 990 <td class="jd-descrcol" width="100%"> 991 Used as a bundle extra field in <code><a href="/reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> intents to 992 describe a resource to be shared on Google+. 993 994 995 996 </td> 997 </tr> 998 999 1000 <tr class=" api apilevel-" > 1001 <td class="jd-typecol">String</td> 1002 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_URL">EXTRA_CONTENT_URL</a></td> 1003 <td class="jd-descrcol" width="100%"> 1004 This is a URL for the content of the post. 1005 1006 1007 1008 </td> 1009 </tr> 1010 1011 1012 <tr class="alt-color api apilevel-" > 1013 <td class="jd-typecol">String</td> 1014 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_IS_INTERACTIVE_POST">EXTRA_IS_INTERACTIVE_POST</a></td> 1015 <td class="jd-descrcol" width="100%"> 1016 Extra indicating that this is an interactive post. 1017 1018 1019 1020 </td> 1021 </tr> 1022 1023 1024 <tr class=" api apilevel-" > 1025 <td class="jd-typecol">String</td> 1026 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_SENDER_ID">EXTRA_SENDER_ID</a></td> 1027 <td class="jd-descrcol" width="100%"> 1028 The ID of the sender on Google+. 1029 1030 1031 1032 </td> 1033 </tr> 1034 1035 1036 <tr class="alt-color api apilevel-" > 1037 <td class="jd-typecol">String</td> 1038 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CALL_TO_ACTION_DEEP_LINK_ID">KEY_CALL_TO_ACTION_DEEP_LINK_ID</a></td> 1039 <td class="jd-descrcol" width="100%"> 1040 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> deep-link ID of the call-to-action button. 1041 1042 1043 1044 </td> 1045 </tr> 1046 1047 1048 <tr class=" api apilevel-" > 1049 <td class="jd-typecol">String</td> 1050 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CALL_TO_ACTION_LABEL">KEY_CALL_TO_ACTION_LABEL</a></td> 1051 <td class="jd-descrcol" width="100%"> 1052 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> label placeholder text of the call-to-action button. 1053 1054 1055 1056 </td> 1057 </tr> 1058 1059 1060 <tr class="alt-color api apilevel-" > 1061 <td class="jd-typecol">String</td> 1062 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CALL_TO_ACTION_URL">KEY_CALL_TO_ACTION_URL</a></td> 1063 <td class="jd-descrcol" width="100%"> 1064 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> URL of the call-to-action button. 1065 1066 1067 1068 </td> 1069 </tr> 1070 1071 1072 <tr class=" api apilevel-" > 1073 <td class="jd-typecol">String</td> 1074 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CONTENT_DEEP_LINK_METADATA_DESCRIPTION">KEY_CONTENT_DEEP_LINK_METADATA_DESCRIPTION</a></td> 1075 <td class="jd-descrcol" width="100%"> 1076 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> description of the resource shared on Google+. 1077 1078 1079 1080 </td> 1081 </tr> 1082 1083 1084 <tr class="alt-color api apilevel-" > 1085 <td class="jd-typecol">String</td> 1086 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CONTENT_DEEP_LINK_METADATA_THUMBNAIL_URL">KEY_CONTENT_DEEP_LINK_METADATA_THUMBNAIL_URL</a></td> 1087 <td class="jd-descrcol" width="100%"> 1088 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> thumbnail URL of the resource shared on Google+. 1089 1090 1091 1092 </td> 1093 </tr> 1094 1095 1096 <tr class=" api apilevel-" > 1097 <td class="jd-typecol">String</td> 1098 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#KEY_CONTENT_DEEP_LINK_METADATA_TITLE">KEY_CONTENT_DEEP_LINK_METADATA_TITLE</a></td> 1099 <td class="jd-descrcol" width="100%"> 1100 Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> title of the resource shared on Google+. 1101 1102 1103 1104 </td> 1105 </tr> 1106 1107 1108 <tr class="alt-color api apilevel-" > 1109 <td class="jd-typecol">String</td> 1110 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/PlusShare.html#PARAM_CONTENT_DEEP_LINK_ID">PARAM_CONTENT_DEEP_LINK_ID</a></td> 1111 <td class="jd-descrcol" width="100%"> 1112 The query parameter containing the deep-link ID. 1113 1114 1115 1116 </td> 1117 </tr> 1118 1119 1120 1121 </table> 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 <!-- ======== CONSTRUCTOR SUMMARY ======== --> 1137 <table id="proctors" class="jd-sumtable"><tr><th colspan="12">Protected Constructors</th></tr> 1138 1139 1140 1141 1142 <tr class="alt-color api apilevel-" > 1143 <td class="jd-typecol"><nobr> 1144 1145 1146 1147 1148 1149 </nobr> 1150 </td> 1151 <td class="jd-linkcol" width="100%"><nobr> 1152 <span class="sympad"><a href="/reference/com/google/android/gms/plus/PlusShare.html#PlusShare()">PlusShare</a></span>()</nobr> 1153 1154 <div class="jd-descrdiv"> 1155 <em> 1156 This constructor is deprecated. 1157 Use <code><a href="/reference/com/google/android/gms/plus/PlusShare.Builder.html">PlusShare.Builder</a></code> instead. 1158 </em> 1159 1160 1161 1162 </div> 1163 1164 </td></tr> 1165 1166 1167 1168 </table> 1169 1170 1171 1172 1173 <!-- ========== METHOD SUMMARY =========== --> 1174 <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> 1175 1176 1177 1178 1179 <tr class="alt-color api apilevel-" > 1180 <td class="jd-typecol"><nobr> 1181 1182 1183 1184 static 1185 1186 <a href="/reference/com/google/android/gms/plus/model/people/Person.html">Person</a></nobr> 1187 </td> 1188 <td class="jd-linkcol" width="100%"><nobr> 1189 <span class="sympad"><a href="/reference/com/google/android/gms/plus/PlusShare.html#createPerson(java.lang.String, java.lang.String)">createPerson</a></span>(String id, String displayName)</nobr> 1190 1191 <div class="jd-descrdiv"> 1192 Creates a person to use as a recipient with the given ID and display name. 1193 1194 1195 1196 </div> 1197 1198 </td></tr> 1199 1200 1201 1202 <tr class=" api apilevel-" > 1203 <td class="jd-typecol"><nobr> 1204 1205 1206 1207 static 1208 1209 String</nobr> 1210 </td> 1211 <td class="jd-linkcol" width="100%"><nobr> 1212 <span class="sympad"><a href="/reference/com/google/android/gms/plus/PlusShare.html#getDeepLinkId(android.content.Intent)">getDeepLinkId</a></span>(Intent intent)</nobr> 1213 1214 <div class="jd-descrdiv"> 1215 Get the incoming deep link. 1216 1217 1218 1219 </div> 1220 1221 </td></tr> 1222 1223 1224 1225 </table> 1226 1227 1228 1229 1230 1231 1232 1233 <!-- ========== METHOD SUMMARY =========== --> 1234 <table id="inhmethods" class="jd-sumtable"><tr><th> 1235 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1236 <div style="clear:left;">Inherited Methods</div></th></tr> 1237 1238 1239 <tr class="api apilevel-" > 1240 <td colspan="12"> 1241 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 1242 ><img id="inherited-methods-java.lang.Object-trigger" 1243 src="/assets/images/triangle-closed.png" 1244 class="jd-expando-trigger-img" /></a> 1245 From class 1246 1247 java.lang.Object 1248 1249 <div id="inherited-methods-java.lang.Object"> 1250 <div id="inherited-methods-java.lang.Object-list" 1251 class="jd-inheritedlinks"> 1252 </div> 1253 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 1254 <table class="jd-sumtable-expando"> 1255 1256 1257 1258 1259 <tr class="alt-color api apilevel-" > 1260 <td class="jd-typecol"><nobr> 1261 1262 1263 1264 1265 1266 Object</nobr> 1267 </td> 1268 <td class="jd-linkcol" width="100%"><nobr> 1269 <span class="sympad">clone</span>()</nobr> 1270 1271 </td></tr> 1272 1273 1274 1275 <tr class=" api apilevel-" > 1276 <td class="jd-typecol"><nobr> 1277 1278 1279 1280 1281 1282 boolean</nobr> 1283 </td> 1284 <td class="jd-linkcol" width="100%"><nobr> 1285 <span class="sympad">equals</span>(Object arg0)</nobr> 1286 1287 </td></tr> 1288 1289 1290 1291 <tr class="alt-color api apilevel-" > 1292 <td class="jd-typecol"><nobr> 1293 1294 1295 1296 1297 1298 void</nobr> 1299 </td> 1300 <td class="jd-linkcol" width="100%"><nobr> 1301 <span class="sympad">finalize</span>()</nobr> 1302 1303 </td></tr> 1304 1305 1306 1307 <tr class=" api apilevel-" > 1308 <td class="jd-typecol"><nobr> 1309 1310 1311 final 1312 1313 1314 Class<?></nobr> 1315 </td> 1316 <td class="jd-linkcol" width="100%"><nobr> 1317 <span class="sympad">getClass</span>()</nobr> 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 int</nobr> 1331 </td> 1332 <td class="jd-linkcol" width="100%"><nobr> 1333 <span class="sympad">hashCode</span>()</nobr> 1334 1335 </td></tr> 1336 1337 1338 1339 <tr class=" api apilevel-" > 1340 <td class="jd-typecol"><nobr> 1341 1342 1343 final 1344 1345 1346 void</nobr> 1347 </td> 1348 <td class="jd-linkcol" width="100%"><nobr> 1349 <span class="sympad">notify</span>()</nobr> 1350 1351 </td></tr> 1352 1353 1354 1355 <tr class="alt-color api apilevel-" > 1356 <td class="jd-typecol"><nobr> 1357 1358 1359 final 1360 1361 1362 void</nobr> 1363 </td> 1364 <td class="jd-linkcol" width="100%"><nobr> 1365 <span class="sympad">notifyAll</span>()</nobr> 1366 1367 </td></tr> 1368 1369 1370 1371 <tr class=" api apilevel-" > 1372 <td class="jd-typecol"><nobr> 1373 1374 1375 1376 1377 1378 String</nobr> 1379 </td> 1380 <td class="jd-linkcol" width="100%"><nobr> 1381 <span class="sympad">toString</span>()</nobr> 1382 1383 </td></tr> 1384 1385 1386 1387 <tr class="alt-color api apilevel-" > 1388 <td class="jd-typecol"><nobr> 1389 1390 1391 final 1392 1393 1394 void</nobr> 1395 </td> 1396 <td class="jd-linkcol" width="100%"><nobr> 1397 <span class="sympad">wait</span>()</nobr> 1398 1399 </td></tr> 1400 1401 1402 1403 <tr class=" api apilevel-" > 1404 <td class="jd-typecol"><nobr> 1405 1406 1407 final 1408 1409 1410 void</nobr> 1411 </td> 1412 <td class="jd-linkcol" width="100%"><nobr> 1413 <span class="sympad">wait</span>(long arg0, int arg1)</nobr> 1414 1415 </td></tr> 1416 1417 1418 1419 <tr class="alt-color api apilevel-" > 1420 <td class="jd-typecol"><nobr> 1421 1422 1423 final 1424 1425 1426 void</nobr> 1427 </td> 1428 <td class="jd-linkcol" width="100%"><nobr> 1429 <span class="sympad">wait</span>(long arg0)</nobr> 1430 1431 </td></tr> 1432 1433 1434 </table> 1435 </div> 1436 </div> 1437 </td></tr> 1438 1439 1440 </table> 1441 1442 1443 </div><!-- jd-descr (summary) --> 1444 1445 <!-- Details --> 1446 1447 1448 1449 1450 1451 1452 1453 1454 <!-- XML Attributes --> 1455 1456 1457 <!-- Enum Values --> 1458 1459 1460 <!-- Constants --> 1461 1462 1463 <!-- ========= ENUM CONSTANTS DETAIL ======== --> 1464 <h2>Constants</h2> 1465 1466 1467 1468 1469 <A NAME="EXTRA_CALL_TO_ACTION"></A> 1470 1471 <div class="jd-details api apilevel-"> 1472 <h4 class="jd-details-title"> 1473 <span class="normal"> 1474 public 1475 static 1476 final 1477 String 1478 </span> 1479 EXTRA_CALL_TO_ACTION 1480 </h4> 1481 <div class="api-level"> 1482 1483 1484 1485 1486 </div> 1487 <div class="jd-details-descr"> 1488 1489 1490 1491 1492 <div class="jd-tagdata jd-tagdescr"><p>Used as a bundle extra field to describe a call-to-action button for a post on Google+. 1493 </p></div> 1494 1495 1496 <div class="jd-tagdata"> 1497 <span class="jd-tagtitle">Constant Value: </span> 1498 <span> 1499 1500 "com.google.android.apps.plus.CALL_TO_ACTION" 1501 1502 </span> 1503 </div> 1504 1505 </div> 1506 </div> 1507 1508 1509 1510 <A NAME="EXTRA_CONTENT_DEEP_LINK_ID"></A> 1511 1512 <div class="jd-details api apilevel-"> 1513 <h4 class="jd-details-title"> 1514 <span class="normal"> 1515 public 1516 static 1517 final 1518 String 1519 </span> 1520 EXTRA_CONTENT_DEEP_LINK_ID 1521 </h4> 1522 <div class="api-level"> 1523 1524 1525 1526 1527 </div> 1528 <div class="jd-details-descr"> 1529 1530 1531 1532 1533 <div class="jd-tagdata jd-tagdescr"><p>Used as a string extra field in <code><a href="/reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> intents to 1534 specify a resource to be shared on Google+. 1535 </p></div> 1536 1537 1538 <div class="jd-tagdata"> 1539 <span class="jd-tagtitle">Constant Value: </span> 1540 <span> 1541 1542 "com.google.android.apps.plus.CONTENT_DEEP_LINK_ID" 1543 1544 </span> 1545 </div> 1546 1547 </div> 1548 </div> 1549 1550 1551 1552 <A NAME="EXTRA_CONTENT_DEEP_LINK_METADATA"></A> 1553 1554 <div class="jd-details api apilevel-"> 1555 <h4 class="jd-details-title"> 1556 <span class="normal"> 1557 public 1558 static 1559 final 1560 String 1561 </span> 1562 EXTRA_CONTENT_DEEP_LINK_METADATA 1563 </h4> 1564 <div class="api-level"> 1565 1566 1567 1568 1569 </div> 1570 <div class="jd-details-descr"> 1571 1572 1573 1574 1575 <div class="jd-tagdata jd-tagdescr"><p>Used as a bundle extra field in <code><a href="/reference/android/content/Intent.html#ACTION_SEND">ACTION_SEND</a></code> intents to 1576 describe a resource to be shared on Google+. You should only set this extra with 1577 <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_ID">EXTRA_CONTENT_DEEP_LINK_ID</a></code>, and when the deep-link ID is not a URI. 1578 </p></div> 1579 1580 1581 <div class="jd-tagdata"> 1582 <span class="jd-tagtitle">Constant Value: </span> 1583 <span> 1584 1585 "com.google.android.apps.plus.CONTENT_DEEP_LINK_METADATA" 1586 1587 </span> 1588 </div> 1589 1590 </div> 1591 </div> 1592 1593 1594 1595 <A NAME="EXTRA_CONTENT_URL"></A> 1596 1597 <div class="jd-details api apilevel-"> 1598 <h4 class="jd-details-title"> 1599 <span class="normal"> 1600 public 1601 static 1602 final 1603 String 1604 </span> 1605 EXTRA_CONTENT_URL 1606 </h4> 1607 <div class="api-level"> 1608 1609 1610 1611 1612 </div> 1613 <div class="jd-details-descr"> 1614 1615 1616 1617 1618 <div class="jd-tagdata jd-tagdescr"><p>This is a URL for the content of the post. 1619 </p></div> 1620 1621 1622 <div class="jd-tagdata"> 1623 <span class="jd-tagtitle">Constant Value: </span> 1624 <span> 1625 1626 "com.google.android.apps.plus.CONTENT_URL" 1627 1628 </span> 1629 </div> 1630 1631 </div> 1632 </div> 1633 1634 1635 1636 <A NAME="EXTRA_IS_INTERACTIVE_POST"></A> 1637 1638 <div class="jd-details api apilevel-"> 1639 <h4 class="jd-details-title"> 1640 <span class="normal"> 1641 public 1642 static 1643 final 1644 String 1645 </span> 1646 EXTRA_IS_INTERACTIVE_POST 1647 </h4> 1648 <div class="api-level"> 1649 1650 1651 1652 1653 </div> 1654 <div class="jd-details-descr"> 1655 1656 1657 1658 1659 <div class="jd-tagdata jd-tagdescr"><p>Extra indicating that this is an interactive post. 1660 </p></div> 1661 1662 1663 <div class="jd-tagdata"> 1664 <span class="jd-tagtitle">Constant Value: </span> 1665 <span> 1666 1667 "com.google.android.apps.plus.GOOGLE_INTERACTIVE_POST" 1668 1669 </span> 1670 </div> 1671 1672 </div> 1673 </div> 1674 1675 1676 1677 <A NAME="EXTRA_SENDER_ID"></A> 1678 1679 <div class="jd-details api apilevel-"> 1680 <h4 class="jd-details-title"> 1681 <span class="normal"> 1682 public 1683 static 1684 final 1685 String 1686 </span> 1687 EXTRA_SENDER_ID 1688 </h4> 1689 <div class="api-level"> 1690 1691 1692 1693 1694 </div> 1695 <div class="jd-details-descr"> 1696 1697 1698 1699 1700 <div class="jd-tagdata jd-tagdescr"><p>The ID of the sender on Google+.</p></div> 1701 <div class="jd-tagdata"> 1702 <h5 class="jd-tagtitle">See Also</h5> 1703 <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/plus/model/people/Person.html#getId()">getId()</a></code></li><li><code><a href="/reference/com/google/android/gms/plus/People.html#getCurrentPerson(com.google.android.gms.common.api.GoogleApiClient)">getCurrentPerson(GoogleApiClient)</a></code></li> 1704 </ul> 1705 </div> 1706 1707 1708 <div class="jd-tagdata"> 1709 <span class="jd-tagtitle">Constant Value: </span> 1710 <span> 1711 1712 "com.google.android.apps.plus.SENDER_ID" 1713 1714 </span> 1715 </div> 1716 1717 </div> 1718 </div> 1719 1720 1721 1722 <A NAME="KEY_CALL_TO_ACTION_DEEP_LINK_ID"></A> 1723 1724 <div class="jd-details api apilevel-"> 1725 <h4 class="jd-details-title"> 1726 <span class="normal"> 1727 public 1728 static 1729 final 1730 String 1731 </span> 1732 KEY_CALL_TO_ACTION_DEEP_LINK_ID 1733 </h4> 1734 <div class="api-level"> 1735 1736 1737 1738 1739 </div> 1740 <div class="jd-details-descr"> 1741 1742 1743 1744 1745 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> deep-link ID of the call-to-action button. 1746 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CALL_TO_ACTION">EXTRA_CALL_TO_ACTION</a></code> bundle. 1747 </p></div> 1748 1749 1750 <div class="jd-tagdata"> 1751 <span class="jd-tagtitle">Constant Value: </span> 1752 <span> 1753 1754 "deepLinkId" 1755 1756 </span> 1757 </div> 1758 1759 </div> 1760 </div> 1761 1762 1763 1764 <A NAME="KEY_CALL_TO_ACTION_LABEL"></A> 1765 1766 <div class="jd-details api apilevel-"> 1767 <h4 class="jd-details-title"> 1768 <span class="normal"> 1769 public 1770 static 1771 final 1772 String 1773 </span> 1774 KEY_CALL_TO_ACTION_LABEL 1775 </h4> 1776 <div class="api-level"> 1777 1778 1779 1780 1781 </div> 1782 <div class="jd-details-descr"> 1783 1784 1785 1786 1787 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> label placeholder text of the call-to-action button. 1788 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CALL_TO_ACTION">EXTRA_CALL_TO_ACTION</a></code> bundle. 1789 </p></div> 1790 1791 1792 <div class="jd-tagdata"> 1793 <span class="jd-tagtitle">Constant Value: </span> 1794 <span> 1795 1796 "label" 1797 1798 </span> 1799 </div> 1800 1801 </div> 1802 </div> 1803 1804 1805 1806 <A NAME="KEY_CALL_TO_ACTION_URL"></A> 1807 1808 <div class="jd-details api apilevel-"> 1809 <h4 class="jd-details-title"> 1810 <span class="normal"> 1811 public 1812 static 1813 final 1814 String 1815 </span> 1816 KEY_CALL_TO_ACTION_URL 1817 </h4> 1818 <div class="api-level"> 1819 1820 1821 1822 1823 </div> 1824 <div class="jd-details-descr"> 1825 1826 1827 1828 1829 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> URL of the call-to-action button. 1830 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CALL_TO_ACTION">EXTRA_CALL_TO_ACTION</a></code> bundle. 1831 </p></div> 1832 1833 1834 <div class="jd-tagdata"> 1835 <span class="jd-tagtitle">Constant Value: </span> 1836 <span> 1837 1838 "url" 1839 1840 </span> 1841 </div> 1842 1843 </div> 1844 </div> 1845 1846 1847 1848 <A NAME="KEY_CONTENT_DEEP_LINK_METADATA_DESCRIPTION"></A> 1849 1850 <div class="jd-details api apilevel-"> 1851 <h4 class="jd-details-title"> 1852 <span class="normal"> 1853 public 1854 static 1855 final 1856 String 1857 </span> 1858 KEY_CONTENT_DEEP_LINK_METADATA_DESCRIPTION 1859 </h4> 1860 <div class="api-level"> 1861 1862 1863 1864 1865 </div> 1866 <div class="jd-details-descr"> 1867 1868 1869 1870 1871 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> description of the resource shared on Google+. 1872 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_METADATA">EXTRA_CONTENT_DEEP_LINK_METADATA</a></code> bundle. 1873 </p></div> 1874 1875 1876 <div class="jd-tagdata"> 1877 <span class="jd-tagtitle">Constant Value: </span> 1878 <span> 1879 1880 "description" 1881 1882 </span> 1883 </div> 1884 1885 </div> 1886 </div> 1887 1888 1889 1890 <A NAME="KEY_CONTENT_DEEP_LINK_METADATA_THUMBNAIL_URL"></A> 1891 1892 <div class="jd-details api apilevel-"> 1893 <h4 class="jd-details-title"> 1894 <span class="normal"> 1895 public 1896 static 1897 final 1898 String 1899 </span> 1900 KEY_CONTENT_DEEP_LINK_METADATA_THUMBNAIL_URL 1901 </h4> 1902 <div class="api-level"> 1903 1904 1905 1906 1907 </div> 1908 <div class="jd-details-descr"> 1909 1910 1911 1912 1913 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> thumbnail URL of the resource shared on Google+. 1914 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_METADATA">EXTRA_CONTENT_DEEP_LINK_METADATA</a></code> bundle. 1915 </p></div> 1916 1917 1918 <div class="jd-tagdata"> 1919 <span class="jd-tagtitle">Constant Value: </span> 1920 <span> 1921 1922 "thumbnailUrl" 1923 1924 </span> 1925 </div> 1926 1927 </div> 1928 </div> 1929 1930 1931 1932 <A NAME="KEY_CONTENT_DEEP_LINK_METADATA_TITLE"></A> 1933 1934 <div class="jd-details api apilevel-"> 1935 <h4 class="jd-details-title"> 1936 <span class="normal"> 1937 public 1938 static 1939 final 1940 String 1941 </span> 1942 KEY_CONTENT_DEEP_LINK_METADATA_TITLE 1943 </h4> 1944 <div class="api-level"> 1945 1946 1947 1948 1949 </div> 1950 <div class="jd-details-descr"> 1951 1952 1953 1954 1955 <div class="jd-tagdata jd-tagdescr"><p>Bundle key used for the <code><a href="/reference/java/lang/String.html">String</a></code> title of the resource shared on Google+. 1956 This key is used in the <code><a href="/reference/com/google/android/gms/plus/PlusShare.html#EXTRA_CONTENT_DEEP_LINK_METADATA">EXTRA_CONTENT_DEEP_LINK_METADATA</a></code> bundle. 1957 </p></div> 1958 1959 1960 <div class="jd-tagdata"> 1961 <span class="jd-tagtitle">Constant Value: </span> 1962 <span> 1963 1964 "title" 1965 1966 </span> 1967 </div> 1968 1969 </div> 1970 </div> 1971 1972 1973 1974 <A NAME="PARAM_CONTENT_DEEP_LINK_ID"></A> 1975 1976 <div class="jd-details api apilevel-"> 1977 <h4 class="jd-details-title"> 1978 <span class="normal"> 1979 public 1980 static 1981 final 1982 String 1983 </span> 1984 PARAM_CONTENT_DEEP_LINK_ID 1985 </h4> 1986 <div class="api-level"> 1987 1988 1989 1990 1991 </div> 1992 <div class="jd-details-descr"> 1993 1994 1995 1996 1997 <div class="jd-tagdata jd-tagdescr"><p>The query parameter containing the deep-link ID. This is populated when a deep link is 1998 clicked from a Google+ post. 1999 </p></div> 2000 2001 2002 <div class="jd-tagdata"> 2003 <span class="jd-tagtitle">Constant Value: </span> 2004 <span> 2005 2006 "deep_link_id" 2007 2008 </span> 2009 </div> 2010 2011 </div> 2012 </div> 2013 2014 2015 2016 2017 <!-- Fields --> 2018 2019 2020 <!-- Public ctors --> 2021 2022 2023 2024 <!-- ========= CONSTRUCTOR DETAIL ======== --> 2025 <!-- Protected ctors --> 2026 2027 <h2>Protected Constructors</h2> 2028 2029 2030 2031 <A NAME="PlusShare()"></A> 2032 2033 <div class="jd-details api apilevel-"> 2034 <h4 class="jd-details-title"> 2035 <span class="normal"> 2036 protected 2037 2038 2039 2040 2041 2042 </span> 2043 <span class="sympad">PlusShare</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 2055 2056 <p> 2057 <p class="caution"><strong> 2058 This constructor is deprecated.</strong><br/> 2059 Use <code><a href="/reference/com/google/android/gms/plus/PlusShare.Builder.html">PlusShare.Builder</a></code> instead. 2060 2061 </p> 2062 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2063 2064 </div> 2065 </div> 2066 2067 2068 2069 2070 2071 <!-- ========= METHOD DETAIL ======== --> 2072 <!-- Public methdos --> 2073 2074 <h2>Public Methods</h2> 2075 2076 2077 2078 <A NAME="createPerson(java.lang.String, java.lang.String)"></A> 2079 2080 <div class="jd-details api apilevel-"> 2081 <h4 class="jd-details-title"> 2082 <span class="normal"> 2083 public 2084 static 2085 2086 2087 2088 <a href="/reference/com/google/android/gms/plus/model/people/Person.html">Person</a> 2089 </span> 2090 <span class="sympad">createPerson</span> 2091 <span class="normal">(String id, String displayName)</span> 2092 </h4> 2093 <div class="api-level"> 2094 <div></div> 2095 2096 2097 2098 </div> 2099 <div class="jd-details-descr"> 2100 2101 2102 2103 2104 <div class="jd-tagdata jd-tagdescr"><p>Creates a person to use as a recipient with the given ID and display name. 2105 See <code><a href="/reference/com/google/android/gms/plus/PlusShare.Builder.html#setRecipients(com.google.android.gms.plus.model.people.Person, java.util.List<com.google.android.gms.plus.model.people.Person>)">setRecipients(Person, List<Person>)</a></code>.</p></div> 2106 <div class="jd-tagdata"> 2107 <h5 class="jd-tagtitle">Parameters</h5> 2108 <table class="jd-tagtable"> 2109 <tr> 2110 <th>id</td> 2111 <td>The recipient's ID, see <code><a href="/reference/com/google/android/gms/plus/model/people/Person.html#getId()">getId()</a></code>.</td> 2112 </tr> 2113 <tr> 2114 <th>displayName</td> 2115 <td>The recipient's display name, see <code><a href="/reference/com/google/android/gms/plus/model/people/Person.html#getDisplayName()">getDisplayName()</a></code>. 2116 </td> 2117 </tr> 2118 </table> 2119 </div> 2120 2121 </div> 2122 </div> 2123 2124 2125 <A NAME="getDeepLinkId(android.content.Intent)"></A> 2126 2127 <div class="jd-details api apilevel-"> 2128 <h4 class="jd-details-title"> 2129 <span class="normal"> 2130 public 2131 static 2132 2133 2134 2135 String 2136 </span> 2137 <span class="sympad">getDeepLinkId</span> 2138 <span class="normal">(Intent intent)</span> 2139 </h4> 2140 <div class="api-level"> 2141 <div></div> 2142 2143 2144 2145 </div> 2146 <div class="jd-details-descr"> 2147 2148 2149 2150 2151 <div class="jd-tagdata jd-tagdescr"><p>Get the incoming deep link.</p></div> 2152 <div class="jd-tagdata"> 2153 <h5 class="jd-tagtitle">Parameters</h5> 2154 <table class="jd-tagtable"> 2155 <tr> 2156 <th>intent</td> 2157 <td>The intent passed to your activity, containing a deep_link_id.</td> 2158 </tr> 2159 </table> 2160 </div> 2161 <div class="jd-tagdata"> 2162 <h5 class="jd-tagtitle">Returns</h5> 2163 <ul class="nolist"><li>The deep-link ID. 2164 </li></ul> 2165 </div> 2166 2167 </div> 2168 </div> 2169 2170 2171 2172 2173 2174 <!-- ========= METHOD DETAIL ======== --> 2175 2176 2177 2178 <!-- ========= END OF CLASS DATA ========= --> 2179 <A NAME="navbar_top"></A> 2180 2181 <div id="footer" class="wrap" > 2182 2183 2184 <div id="copyright"> 2185 2186 Except as noted, this content is licensed under <a 2187 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 2188 For details and restrictions, see the <a href="/license.html"> 2189 Content License</a>. 2190 </div> 2191 <div id="build_info"> 2192 2193 <script src="/timestamp.js" type="text/javascript"></script> 2194 <script>document.write(BUILD_TIMESTAMP)</script> 2195 2196 </div> 2197 2198 2199 <div id="footerlinks"> 2200 2201 <p> 2202 <a href="/about/index.html">About Android</a> | 2203 <a href="/legal.html">Legal</a> | 2204 <a href="/support.html">Support</a> 2205 </p> 2206 </div> 2207 2208 </div> <!-- end footer --> 2209 </div> <!-- jd-content --> 2210 2211 </div><!-- end doc-content --> 2212 2213 </div> <!-- end body-content --> 2214 2215 2216 2217 2218 2219 2220 </body> 2221 </html> 2222