<code>GoogleCloudMessaging</code></a> API instead.
</p>
<h2>Class Overview</h2>
<divstyle="background-color:#fffdeb;width:100%;margin-bottom:1em;padding:.5em;"><strong>DEPRECATED.</strong> Please use the <ahref=
"http://developer.android.com/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html"><code>GoogleCloudMessaging</code></a> API instead.</div>
<pitemprop="articleBody"><code><ahref="/reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a></code> that receives GCM messages and delivers them to
an application-specific <code><ahref="/reference/com/google/android/gcm/GCMBaseIntentService.html">GCMBaseIntentService</a></code> subclass.
<p>
By default, the <code><ahref="/reference/com/google/android/gcm/GCMBaseIntentService.html">GCMBaseIntentService</a></code> class belongs to the application
main package and is named
<code><ahref="/reference/com/google/android/gcm/GCMConstants.html#DEFAULT_INTENT_SERVICE_CLASS_NAME">DEFAULT_INTENT_SERVICE_CLASS_NAME</a></code>. To use a new class,
the <code><ahref="/reference/com/google/android/gcm/GCMBroadcastReceiver.html#getGCMIntentServiceClassName(android.content.Context)">getGCMIntentServiceClassName(Context)</a></code> must be overridden.
</p>
the <code><ahref="/reference/com/google/android/gcm/GCMBroadcastReceiver.html#getGCMIntentServiceClassName(android.content.Context)">getGCMIntentServiceClassName(Context)</a></code> must be overridden.</p>
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_TO_GCM_REGISTRATION">.INTENT_TO_GCM_REGISTRATION</a></code> to get the
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_MESSAGE">.INTENT_FROM_GCM_MESSAGE</a></code> to indicate which
sender (Google API project id) sent the message.</td>
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
the registration id when the registration succeeds.</td>
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_TO_GCM_REGISTRATION">.INTENT_TO_GCM_REGISTRATION</a></code> to indicate which
senders (Google API project ids) can send messages to the application.</td>
<tdclass="jd-descrcol"width="100%">Type of message present in the <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_MESSAGE">.INTENT_FROM_GCM_MESSAGE</a></code> intent.</td>
<tdclass="jd-descrcol"width="100%">Type of message present in the
<tdclass="jd-descrcol"width="100%">Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
to indicate that the application has been unregistered.</td>
</tr>
@@ -1487,8 +1500,9 @@ From class
</div>
<divclass="jd-details-descr">
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_TO_GCM_REGISTRATION">.INTENT_TO_GCM_REGISTRATION</a></code> to get the
application info.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
an error when the registration fails. See constants starting with ERROR_
for possible values.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on
See constants starting with ERROR_ for possible values.
</p></div>
@@ -1566,8 +1581,9 @@ From class
</div>
<divclass="jd-details-descr">
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_MESSAGE">.INTENT_FROM_GCM_MESSAGE</a></code> to indicate which
sender (Google API project id) sent the message.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on
to indicate which sender (Google API project id) sent the message.
</p></div>
@@ -1605,8 +1621,9 @@ From class
</div>
<divclass="jd-details-descr">
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
the registration id when the registration succeeds.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on
to indicate the registration id when the registration succeeds.
</p></div>
@@ -1644,8 +1661,10 @@ From class
</div>
<divclass="jd-details-descr">
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_TO_GCM_REGISTRATION">.INTENT_TO_GCM_REGISTRATION</a></code> to indicate which
senders (Google API project ids) can send messages to the application.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on
to indicate which senders (Google API project ids) can send messages to
the application.
</p></div>
@@ -1683,7 +1702,9 @@ From class
</div>
<divclass="jd-details-descr">
<divclass="jd-tagdata jd-tagdescr"><p>Type of message present in the <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_MESSAGE">.INTENT_FROM_GCM_MESSAGE</a></code> intent.
<divclass="jd-tagdata jd-tagdescr"><p>Type of message present in the
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on <code><ahref="/reference/com/google/android/gcm/GCMConstants.html#INTENT_FROM_GCM_REGISTRATION_CALLBACK">.INTENT_FROM_GCM_REGISTRATION_CALLBACK</a></code> to indicate
that the application has been unregistered.
<divclass="jd-tagdata jd-tagdescr"><p>Extra used on