public abstract class Notification extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
ACTION_EVENT_EXTERNAL_URL |
| Modifier | Constructor and Description |
|---|---|
protected |
Notification() |
protected |
Notification(String id,
String title,
String message,
String actionEvent,
org.json.JSONObject actionPayload) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionEvent() |
org.json.JSONObject |
getActionPayload() |
String |
getId() |
String |
getMessage() |
String |
getTitle() |
protected abstract String |
getType() |
protected abstract void |
populateJSONObject(org.json.JSONObject json) |
void |
setActionEvent(String actionEvent) |
void |
setActionPayload(org.json.JSONObject actionPayload) |
void |
setExternalUrl(String externalUrl) |
void |
setMessage(String message) |
void |
setTitle(String title) |
org.json.JSONObject |
toJSONObject() |
static final String ACTION_EVENT_EXTERNAL_URL
protected Notification(String id, String title, String message, String actionEvent, org.json.JSONObject actionPayload)
protected Notification()
public String getId()
public String getTitle()
public void setTitle(String title)
public String getMessage()
public void setMessage(String message)
public String getActionEvent()
public void setActionEvent(String actionEvent)
public org.json.JSONObject getActionPayload()
public void setActionPayload(org.json.JSONObject actionPayload)
public void setExternalUrl(String externalUrl)
public final org.json.JSONObject toJSONObject()
protected abstract void populateJSONObject(org.json.JSONObject json)
protected abstract String getType()
Copyright © 2013–2016 V5 Analytics. All rights reserved.