eu.easypush.pushlibrary.notifications
Class EasypushNotification
java.lang.Object
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
|
|
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 |
jsonMessage
protected org.json.JSONObject jsonMessage
EasypushNotification
public EasypushNotification(org.json.JSONObject _jsonMessage)
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)