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