public class Notification
extends java.lang.Object
| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication()
The app responsible for generating the notification.
|
java.util.Date |
getCreatedTime()
When the notification was created.
|
User |
getFrom()
The entity (user, page, app, etc.) that 'sent', or is the source of the
notification.
|
java.lang.String |
getId()
The notification's id.
|
java.lang.Boolean |
getIsUnread()
Indicates that the notification is unread.
|
java.lang.String |
getLink()
The URL that clicking on the notification would take someone.
|
java.lang.String |
getTitle()
The message text in the notification.
|
User |
getTo()
The entity that received the notification.
|
java.util.Date |
getUpdatedTime()
When the notification was last updated.
|
public java.lang.String getId()
public User getFrom()
public User getTo()
public java.util.Date getCreatedTime()
public java.util.Date getUpdatedTime()
public java.lang.String getTitle()
public java.lang.String getLink()
public Application getApplication()
public java.lang.Boolean getIsUnread()