public interface MessageMethods
| Modifier and Type | Method and Description |
|---|---|
InboxResponseList<Message> |
getInbox()
Returns the messages in the current user's inbox.
|
InboxResponseList<Message> |
getInbox(Reading reading)
Returns the messages in the current user's inbox.
|
InboxResponseList<Message> |
getInbox(java.lang.String userId)
Returns the messages in a user's inbox.
|
InboxResponseList<Message> |
getInbox(java.lang.String userId,
Reading reading)
Returns the messages in a user's inbox.
|
Message |
getMessage(java.lang.String messageId)
Returns a single message.
|
Message |
getMessage(java.lang.String messageId,
Reading reading)
Returns a single message.
|
ResponseList<Message> |
getOutbox()
Returns the messages in the current user's outbox.
|
ResponseList<Message> |
getOutbox(Reading reading)
Returns the messages in the current user's outbox.
|
ResponseList<Message> |
getOutbox(java.lang.String userId)
Returns the messages in a user's outbox.
|
ResponseList<Message> |
getOutbox(java.lang.String userId,
Reading reading)
Returns the messages in a user's outbox.
|
ResponseList<Message> |
getUpdates()
Returns the updates in the current user's inbox.
|
ResponseList<Message> |
getUpdates(Reading reading)
Returns the updates in the current user's inbox.
|
ResponseList<Message> |
getUpdates(java.lang.String userId)
Returns the updates in a user's inbox.
|
ResponseList<Message> |
getUpdates(java.lang.String userId,
Reading reading)
Returns the updates in a user's inbox.
|
InboxResponseList<Message> getInbox() throws FacebookException
FacebookException - when Facebook service or network is unavailableInboxResponseList<Message> getInbox(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableInboxResponseList<Message> getInbox(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableInboxResponseList<Message> getInbox(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<Message> getOutbox() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Message> getOutbox(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Message> getOutbox(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableResponseList<Message> getOutbox(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<Message> getUpdates() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Message> getUpdates(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Message> getUpdates(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableResponseList<Message> getUpdates(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 unavailableMessage getMessage(java.lang.String messageId) throws FacebookException
messageId - the ID of the messageFacebookException - when Facebook service or network is unavailableMessage getMessage(java.lang.String messageId, Reading reading) throws FacebookException
messageId - the ID of the messagereading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailable