Package com.restfb.types
Klasse Notification
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Notification
- Alle implementierten Schnittstellen:
HasCreatedTime
,HasFrom
,Serializable
Represents the Notification Graph API
type.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe app responsible for generating the notification.When the notification was created.getFrom()
The entity (user, page, app, etc.) that 'sent', or is the source of the notification.getLink()
The URL that clicking on the notification would take someone.The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification.getTitle()
The message text in the notification.getTo()
The entity that received the notification.Indicates that the notification is unread.When the notification was last updated.void
setApplication
(Application application) The app responsible for generating the notification.void
setCreatedTime
(Date createdTime) When the notification was created.void
setFrom
(NamedFacebookType from) The entity (user, page, app, etc.) that 'sent', or is the source of the notification.void
The URL that clicking on the notification would take someone.void
setObject
(NamedFacebookType object) The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification.void
The message text in the notification.void
The entity that received the notification.void
Indicates that the notification is unread.void
setUpdatedTime
(Date updatedTime) When the notification was last updated.Von Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Notification
public Notification()
-
-
Methodendetails
-
getFrom
The entity (user, page, app, etc.) that 'sent', or is the source of the notification. -
setFrom
The entity (user, page, app, etc.) that 'sent', or is the source of the notification. -
getTo
The entity that received the notification.- Gibt zurück:
- The entity that received the notification.
-
setTo
The entity that received the notification. -
getLink
The URL that clicking on the notification would take someone.- Gibt zurück:
- The URL that clicking on the notification would take someone.
-
setLink
The URL that clicking on the notification would take someone. -
getTitle
The message text in the notification.- Gibt zurück:
- The message text in the notification.
-
setTitle
The message text in the notification. -
getApplication
The app responsible for generating the notification. Some of the core Facebook features have their own app that shows up here, such as likes when someone likes another person's content.- Gibt zurück:
- The app responsible for generating the notification.
-
setApplication
The app responsible for generating the notification. Some of the core Facebook features have their own app that shows up here, such as likes when someone likes another person's content. -
getUnread
Indicates that the notification is unread. Note that 'read' notifications will not be accessible.- Gibt zurück:
- Indicates that the notification is unread.
-
setUnread
Indicates that the notification is unread. Note that 'read' notifications will not be accessible. -
getObject
The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification.- Gibt zurück:
- the object that was the subject of the notification.
-
setObject
The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification. -
getUpdatedTime
When the notification was last updated. When the notification was created.- Gibt zurück:
- When the notification was last updated.
-
setUpdatedTime
When the notification was last updated. When the notification was created. -
getCreatedTime
When the notification was created.- Angegeben von:
getCreatedTime
in SchnittstelleHasCreatedTime
- Gibt zurück:
- When the notification was created.
-
setCreatedTime
When the notification was created.
-