eu.easypush.pushlibrary.notifications
Class EasypushNotification

java.lang.Object
  extended by eu.easypush.pushlibrary.notifications.EasypushNotification
Direct Known Subclasses:
ExpandablePictureNotification, SimpleNotification

public abstract class EasypushNotification
extends java.lang.Object


Field Summary
protected  org.json.JSONObject jsonMessage
           
 
Constructor Summary
EasypushNotification(org.json.JSONObject _jsonMessage)
           
 
Method Summary
 void afterLaunchNotification(android.content.Context context, android.app.Notification notification)
           
 void beforeLaunchNotification(android.content.Context context, NotificationCompat.Builder notificationBuilder)
           
abstract  NotificationCompat.Builder createNotification(android.content.Context context, java.lang.String titleOfApplication)
           
 android.content.Intent getIntentToLaunch(android.content.Context context, org.json.JSONObject object)
           
 org.json.JSONObject getJsonMessage()
           
 void launchNotification(android.content.Context context, int id, NotificationCompat.Builder notificationBuilder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jsonMessage

protected org.json.JSONObject jsonMessage
Constructor Detail

EasypushNotification

public EasypushNotification(org.json.JSONObject _jsonMessage)
Method Detail

getJsonMessage

public org.json.JSONObject getJsonMessage()

launchNotification

public void launchNotification(android.content.Context context,
                               int id,
                               NotificationCompat.Builder notificationBuilder)

beforeLaunchNotification

public void beforeLaunchNotification(android.content.Context context,
                                     NotificationCompat.Builder notificationBuilder)

afterLaunchNotification

public void afterLaunchNotification(android.content.Context context,
                                    android.app.Notification notification)

getIntentToLaunch

public android.content.Intent getIntentToLaunch(android.content.Context context,
                                                org.json.JSONObject object)

createNotification

public abstract NotificationCompat.Builder createNotification(android.content.Context context,
                                                              java.lang.String titleOfApplication)