pushlibrary.utils
Class PushRegistrar
java.lang.Object
pushlibrary.utils.PushRegistrar
- All Implemented Interfaces:
- PushConstants
public class PushRegistrar
- extends java.lang.Object
- implements PushConstants
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTRA_MESSAGE
public static final java.lang.String EXTRA_MESSAGE
- See Also:
- Constant Field Values
PushRegistrar
public PushRegistrar()
checkDevice
public static void checkDevice(android.content.Context c)
register
public static void register(android.content.Context c,
java.lang.String... senderIds)
checkAndRegister
public static void checkAndRegister(android.content.Context c,
java.lang.String... senderIds)
checkPlayServices
public static boolean checkPlayServices(android.content.Context c)
- Check the device to make sure it has the Google Play Services APK. If it
doesn't, display a dialog that allows users to download the APK from the
Google Play Store or enable it in the device's system settings.