|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationMethods
Method Summary | |
---|---|
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(String userId)
Returns the notifications for a user. |
ResponseList<Notification> |
getNotifications(String userId,
boolean includeRead)
Returns the notifications for a user. |
ResponseList<Notification> |
getNotifications(String userId,
Reading reading)
Returns the notifications for a user. |
ResponseList<Notification> |
getNotifications(String userId,
Reading reading,
boolean includeRead)
Returns the notifications for a user. |
boolean |
markNotificationAsRead(String notificationId)
Marks the notification as read. |
Method Detail |
---|
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 unread
FacebookException
- when Facebook service or network is unavailableResponseList<Notification> getNotifications(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- 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 unread
FacebookException
- when Facebook service or network is unavailableResponseList<Notification> getNotifications(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableResponseList<Notification> getNotifications(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 unread
FacebookException
- when Facebook service or network is unavailableResponseList<Notification> getNotifications(String userId, Reading reading) throws FacebookException
userId
- the ID of a userreading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Notification> getNotifications(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 unread
FacebookException
- when Facebook service or network is unavailableboolean markNotificationAsRead(String notificationId) throws FacebookException
notificationId
- the ID of the notification
FacebookException
- when Facebook service or network is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |