public class UserNotification extends Notification
ACTION_EVENT_EXTERNAL_URL| Modifier | Constructor and Description |
|---|---|
protected |
UserNotification() |
|
UserNotification(String userId,
String title,
String message,
String actionEvent,
org.json.JSONObject actionPayload,
Date sentDate,
ExpirationAge expirationAge) |
|
UserNotification(String userId,
String title,
String message,
String actionEvent,
org.json.JSONObject actionPayload,
ExpirationAge expirationAge) |
| Modifier and Type | Method and Description |
|---|---|
ExpirationAge |
getExpirationAge() |
Date |
getExpirationDate() |
Date |
getSentDate() |
protected String |
getType() |
String |
getUserId() |
boolean |
isActive() |
boolean |
isMarkedRead() |
boolean |
isNotified() |
void |
populateJSONObject(org.json.JSONObject json) |
void |
setMarkedRead(boolean markedRead) |
void |
setNotified(boolean notified) |
String |
toString() |
getActionEvent, getActionPayload, getId, getMessage, getTitle, setActionEvent, setActionPayload, setExternalUrl, setMessage, setTitle, toJSONObjectprotected UserNotification()
public UserNotification(String userId, String title, String message, String actionEvent, org.json.JSONObject actionPayload, ExpirationAge expirationAge)
public String getUserId()
public Date getSentDate()
public ExpirationAge getExpirationAge()
public boolean isMarkedRead()
public void setMarkedRead(boolean markedRead)
public boolean isNotified()
public void setNotified(boolean notified)
public boolean isActive()
public Date getExpirationDate()
protected String getType()
getType in class Notificationpublic void populateJSONObject(org.json.JSONObject json)
populateJSONObject in class NotificationCopyright © 2013–2017 V5 Analytics. All rights reserved.