eu.easypush.pushlibrary.utils
Class PushRegistrar
java.lang.Object
eu.easypush.pushlibrary.utils.PushRegistrar
- All Implemented Interfaces:
- PushConstants
public class PushRegistrar
- extends java.lang.Object
- implements PushConstants
| 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()
addOnNotificationRegistrationIdReceivedListeners
public static void addOnNotificationRegistrationIdReceivedListeners(OnNotificationRegistrationIdReceivedListener listener)
removeOnNotificationRegistrationIdReceivedListeners
public static void removeOnNotificationRegistrationIdReceivedListeners(OnNotificationRegistrationIdReceivedListener listener)
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.