Enumerations
Here is a list of enumerations you will find throughout the plugin. These enumerations are named after the same enumerations/constants found in the Google Play Games library.
EGooglePermissionScope
Name | Description |
---|---|
GAMES_LITE | Permission to use basic Google Play Games features (Such as achievements leaderboards) |
DRIVE_APP_DATA | Permission to use users Google Drive (Often requested for Saved Games feature) |
YOUTUBE | Permission to manage users YouTube account |
EGooglePlayAchievementState
Name | Description |
---|---|
ACHIEVEMENT_STATE_UNLOCKED | An achievement which has been unlocked by the user. |
ACHIEVEMENT_STATE_REVEALED | An achievement which is revealed to the user. |
ACHIEVEMENT_STATE_HIDDEN | An achievement which is hidden from the user. |
EGooglePlayAchievementType
Name | Description |
---|---|
ACHIEVEMENT_TYPE_STANDARD | Achievement type indicating a standard achievement. |
ACHIEVEMENT_TYPE_INCREMENTAL | Achievement type indicating an incremental achievement. |
EGooglePlayLeaderboardCollection
Name | Description |
---|---|
COLLECTION_DEFAULT | The default collection, defaulting to PUBLIC. |
COLLECTION_PUBLIC | Public leaderboards contain the scores of players who are sharing their gameplay activity publicly. |
COLLECTION_FRIENDS | Friends leaderboards contain the scores of players in the viewing player's friends list. |
EGooglePlayLeaderboardPageDirection
Name | Description |
---|---|
PAGE_DIRECTION_NONE | There will be no pagination. |
PAGE_DIRECTION_NEXT | Direction advancing toward the end of the data set. |
PAGE_DIRECTION_PREV | Direction advancing toward the beginning of the data set. |
EGooglePlayLeaderboardScoreOrder
Name | Description |
---|---|
LARGER_IS_BETTER | When scores are sorted in descending order. |
SMALLER_IS_BETTER | When scores are sorted in ascending order. |
EGooglePlayLeaderboardTimeSpan
Name | Description |
---|---|
TIME_SPAN_DEFAULT | The default time span, defaulting to ALL_TIME. |
TIME_SPAN_DAILY | Scores are reset every day. The reset occurs at 11:59PM PST. |
TIME_SPAN_WEEKLY | Scores are reset once per week. The reset occurs at 11:59PM PST on Sunday. |
TIME_SPAN_ALL_TIME | Scores are never reset. |
EGoogleSignInStatusCode
Name | Description |
---|---|
UNKNOWN_ERROR | An unkown error occurred. Retrying may resolve the problem. |
SIGN_IN_REQUIRED | The user attempted to connect to the service but the user is not signed in. |
INVALID_ACCOUNT | The user attempted to connect to the service with an invalid account name specified. |
NETWORK_ERROR | A network error occurred. Retrying should resolve the problem. |
INTERNAL_ERROR | An internal error occurred. Retrying should resolve the problem. |
SIGN_IN_FAILED | The sign in was cancelled by the user. |
SIGN_IN_CANCELLED | The sign in was cancelled by the user. |
SIGN_IN_CURRENTLY_IN_PROGRESS | A sign in process is currently in progress and the current one cannot continue. For example, the user clicks the SignInButton multiple times and more than one sign in intent was launched. |
USER_CANCELLED | The user cancelled or dismissed the workflow. |