GameCenterLeaderboardFormatter
The values you can select to describe the format of a leaderboard.
Declaration
string GameCenterLeaderboardFormatterPossible Values
INTEGERDECIMAL_POINT_1_PLACEDECIMAL_POINT_2_PLACEDECIMAL_POINT_3_PLACEELAPSED_TIME_CENTISECONDELAPSED_TIME_MINUTEELAPSED_TIME_SECONDMONEY_POUND_DECIMALMONEY_POUNDMONEY_DOLLAR_DECIMALMONEY_DOLLARMONEY_EURO_DECIMALMONEY_EUROMONEY_FRANC_DECIMALMONEY_FRANCMONEY_KRONER_DECIMALMONEY_KRONERMONEY_YEN
Mentioned in
Discussion
Leaderboard formatters allow you to specify the unit of measurement for a Game Center leaderboard. There is a new required attribute defaultFormatter when using Create a Leaderboard which will give all your localizations the same formatter. You can also optionally use formatterOverride to override a specific leaderboard localization when calling Create a Leaderboard Localization or Modify a Leaderboard Localization.
Before App Store Connect API version 3.0, formatters were based on localizations and were required for each localization. Legacy leaderboards created before the new addition of the Game Center APIs will not have a defaultFormatter value, the value would be null in this case. Any localizations created before the new addition of the Game Center APIs will always have a formatterOverride.
See Also
Objects and types
GameCenterLeaderboardV2GameCenterLeaderboardV2CreateRequestGameCenterLeaderboardV2ResponseGameCenterLeaderboardV2UpdateRequestGameCenterLeaderboardsV2ResponseGameCenterLeaderboardV2ActivityLinkageRequestGameCenterLeaderboardV2ChallengeLinkageRequestGameCenterLeaderboardV2VersionsLinkagesResponseGameCenterLeaderboardUpdateRequestGameCenterLeaderboardsResponseGameCenterLeaderboardGameCenterLeaderboardCreateRequestGameCenterLeaderboardResponseGameCenterLeaderboardGroupLeaderboardLinkageRequestGameCenterLeaderboardGroupLeaderboardLinkageResponse