public interface NotificationMethods
| Modifier and Type | Method and Description |
|---|---|
ResponseList<Notification> |
getNotifications()
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(boolean includeRead)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(Reading reading)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(Reading reading,
boolean includeRead)
Returns the notifications for the current user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
boolean includeRead)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
Reading reading)
Returns the notifications for a user.
|
ResponseList<Notification> |
getNotifications(java.lang.String userId,
Reading reading,
boolean includeRead)
Returns the notifications for a user.
|
boolean |
markNotificationAsRead(java.lang.String notificationId)
Marks the notification as read.
|
ResponseList<Notification> getNotifications() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(boolean includeRead) throws FacebookException
includeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(Reading reading, boolean includeRead) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(java.lang.String userId, boolean includeRead) throws FacebookException
userId - the ID of a userincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(java.lang.String userId, Reading reading) throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Notification> getNotifications(java.lang.String userId, Reading reading, boolean includeRead) throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersincludeRead - enables you to see notifications that the user has already read in addition to the ones which are unreadFacebookException - when Facebook service or network is unavailableboolean markNotificationAsRead(java.lang.String notificationId)
throws FacebookException
notificationId - the ID of the notificationFacebookException - when Facebook service or network is unavailable