public class PushRegistrar extends java.lang.Object implements PushConstants
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTRA_MESSAGE |
TAG| Constructor and Description |
|---|
PushRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addOnNotificationRegistrationListeners(OnNotificationRegistrationListener listener) |
static void |
checkAndRegister(android.content.Context c,
java.lang.String... senderIds) |
static void |
checkDevice(android.content.Context c) |
static boolean |
checkPlayServices(android.content.Context c)
Check the device to make sure it has the Google Play Services APK.
|
static void |
register(android.content.Context c,
java.lang.String... senderIds) |
static void |
removeOnNotificationRegistrationListeners(OnNotificationRegistrationListener listener) |
public static final java.lang.String EXTRA_MESSAGE
public static void addOnNotificationRegistrationListeners(OnNotificationRegistrationListener listener)
public static void removeOnNotificationRegistrationListeners(OnNotificationRegistrationListener listener)
public static void checkDevice(android.content.Context c)
public static void register(android.content.Context c,
java.lang.String... senderIds)
public static void checkAndRegister(android.content.Context c,
java.lang.String... senderIds)
public static boolean checkPlayServices(android.content.Context c)