|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GameMethods
| Method Summary | |
|---|---|
boolean |
deleteAchievement(String userId,
URL achievementURL)
Deletes the achievement for a user. |
boolean |
deleteAchievement(URL achievementURL)
Deletes the achievement for the current user. |
boolean |
deleteScore()
Deletes the current score for the current user. |
boolean |
deleteScore(String userId)
Deletes the current score for a user. |
ResponseList<Achievement> |
getAchievements()
Returns the achievements for the current user. |
ResponseList<Achievement> |
getAchievements(Reading reading)
Returns the achievements for the current user. |
ResponseList<Achievement> |
getAchievements(String userId)
Returns the achievements for a user. |
ResponseList<Achievement> |
getAchievements(String userId,
Reading reading)
Returns the achievements for a user. |
ResponseList<Score> |
getScores()
Returns the current scores for a user in games. |
ResponseList<Score> |
getScores(Reading reading)
Returns the current scores for a user in games. |
ResponseList<Score> |
getScores(String userId)
Returns the current scores for the current user in games. |
ResponseList<Score> |
getScores(String userId,
Reading reading)
Returns the current scores for the current user in games. |
String |
postAchievement(String userId,
URL achievementURL)
Posts the achievement for a user. |
String |
postAchievement(URL achievementURL)
Posts the achievement for the current user. |
boolean |
postScore(int scoreValue)
Posts the score for the current user. |
boolean |
postScore(String userId,
int scoreValue)
Posts the score for a user. |
| Method Detail |
|---|
ResponseList<Achievement> getAchievements()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Achievement> getAchievements(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Achievement> getAchievements(String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Achievement> getAchievements(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 unavailable
String postAchievement(URL achievementURL)
throws FacebookException
achievementURL - the unique URL of the achievement which the current user achieved
FacebookException - when Facebook service or network is unavailable
String postAchievement(String userId,
URL achievementURL)
throws FacebookException
userId - the ID of a userachievementURL - the unique URL of the achievement which the user achieved
FacebookException - when Facebook service or network is unavailable
boolean deleteAchievement(URL achievementURL)
throws FacebookException
achievementURL - the unique URL of the achievement to delete
FacebookException - when Facebook service or network is unavailable
boolean deleteAchievement(String userId,
URL achievementURL)
throws FacebookException
userId - the ID of a userachievementURL - the unique URL of the achievement to delete
FacebookException - when Facebook service or network is unavailable
ResponseList<Score> getScores()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Score> getScores(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Score> getScores(String userId)
throws FacebookException
userId - the ID of the user
FacebookException - when Facebook service or network is unavailable
ResponseList<Score> getScores(String userId,
Reading reading)
throws FacebookException
userId - the ID of the userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean postScore(int scoreValue)
throws FacebookException
scoreValue - numeric score with value
FacebookException - when Facebook service or network is unavailable
boolean postScore(String userId,
int scoreValue)
throws FacebookException
userId - the ID of a userscoreValue - numeric score with value
FacebookException - when Facebook service or network is unavailable
boolean deleteScore()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
boolean deleteScore(String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||