public class

GCMBroadcastReceiver

extends BroadcastReceiver
java.lang.Object
   ↳ android.content.BroadcastReceiver
     ↳ com.google.android.gcm.GCMBroadcastReceiver

This class is deprecated.
Please use the GoogleCloudMessaging API instead.

Class Overview

BroadcastReceiver that receives GCM messages and delivers them to an application-specific GCMBaseIntentService subclass.

By default, the GCMBaseIntentService class belongs to the application main package and is named DEFAULT_INTENT_SERVICE_CLASS_NAME. To use a new class, the getGCMIntentServiceClassName(Context) must be overridden.

Summary

Public Constructors
GCMBroadcastReceiver()
Public Methods
final void onReceive(Context context, Intent intent)
Protected Methods
String getGCMIntentServiceClassName(Context context)
Gets the class name of the intent service that will handle GCM messages.
[Expand]
Inherited Methods
From class android.content.BroadcastReceiver
From class java.lang.Object

Public Constructors

public GCMBroadcastReceiver ()

Public Methods

public final void onReceive (Context context, Intent intent)

Protected Methods

protected String getGCMIntentServiceClassName (Context context)

Gets the class name of the intent service that will handle GCM messages.