Method GetVersionsAsync
GetVersionsAsync(string, GetVersionsOptions)
Gets the list of archived leaderboard versions for the specified leaderboard.
Declaration
Task<LeaderboardVersions> GetVersionsAsync(string leaderboardId, GetVersionsOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | leaderboardId | ID string of the leaderboard |
GetVersionsOptions | options | Options object with "Limit", the number of entries to return (starting with the most recent). Defaults to all entries |
Returns
Type | Description |
---|---|
Task<LeaderboardVersions> | Task for a Response object containing status code, headers, and Models.LeaderboardVersions object containing the list of retrieved versions. |
Exceptions
Type | Condition |
---|---|
LeaderboardsException | An exception containing a Message, Reason, and ErrorCode that can be used to determine the source of the error. |
LeaderboardsValidationException | An exception containing a Message, Reason, ErrorCode, and Details that can be used to determine the source of the error. |