pushlibrary.utils
Class NotificationUtils

java.lang.Object
  extended by pushlibrary.utils.NotificationUtils

public class NotificationUtils
extends java.lang.Object


Constructor Summary
NotificationUtils()
           
 
Method Summary
static void addOnAfterLaunchNotification(android.content.Context c, java.lang.Class<? extends OnAfterLaunchNotification> onAfterSend)
           
static void addOnBeforeLaunchNotification(android.content.Context c, java.lang.Class<? extends OnBeforeLaunchNotification> onBeforeSend)
           
static EasypushNotification getDefaultNotification(android.content.Context c)
           
static android.content.Intent getLaunchIntentOnNotification(android.content.Context c)
           
static void preventAllOnAfterLaunchNotification(android.content.Context c, android.app.Notification notification)
           
static void preventAllOnBeforeLaunchNotification(android.content.Context c, android.app.Notification notification)
           
static void registerDefaultNotification(android.content.Context c, java.lang.Class<? extends EasypushNotification> notificationClass)
           
static void removeOnAfterLaunchNotification(android.content.Context c, java.lang.Class<? extends OnAfterLaunchNotification> onAfterSend)
           
static void removeOnBeforeLaunchNotification(android.content.Context c, java.lang.Class<? extends OnBeforeLaunchNotification> onBeforeSend)
           
static void setLaunchIntentOnNotification(android.content.Context c, android.content.Intent i)
           
static void unregisterDefaultNotification(android.content.Context c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationUtils

public NotificationUtils()
Method Detail

registerDefaultNotification

public static void registerDefaultNotification(android.content.Context c,
                                               java.lang.Class<? extends EasypushNotification> notificationClass)

unregisterDefaultNotification

public static void unregisterDefaultNotification(android.content.Context c)

getDefaultNotification

public static EasypushNotification getDefaultNotification(android.content.Context c)

setLaunchIntentOnNotification

public static void setLaunchIntentOnNotification(android.content.Context c,
                                                 android.content.Intent i)

getLaunchIntentOnNotification

public static android.content.Intent getLaunchIntentOnNotification(android.content.Context c)

addOnBeforeLaunchNotification

public static void addOnBeforeLaunchNotification(android.content.Context c,
                                                 java.lang.Class<? extends OnBeforeLaunchNotification> onBeforeSend)

removeOnBeforeLaunchNotification

public static void removeOnBeforeLaunchNotification(android.content.Context c,
                                                    java.lang.Class<? extends OnBeforeLaunchNotification> onBeforeSend)

preventAllOnBeforeLaunchNotification

public static void preventAllOnBeforeLaunchNotification(android.content.Context c,
                                                        android.app.Notification notification)

addOnAfterLaunchNotification

public static void addOnAfterLaunchNotification(android.content.Context c,
                                                java.lang.Class<? extends OnAfterLaunchNotification> onAfterSend)

removeOnAfterLaunchNotification

public static void removeOnAfterLaunchNotification(android.content.Context c,
                                                   java.lang.Class<? extends OnAfterLaunchNotification> onAfterSend)

preventAllOnAfterLaunchNotification

public static void preventAllOnAfterLaunchNotification(android.content.Context c,
                                                       android.app.Notification notification)