API reference

LeaderboardsStatusCode Enum

LeaderboardsStatusCode represents the set of status codes returned by the leaderboards API.

Signature

enum LeaderboardsStatusCode : Enum<LeaderboardsStatusCode> 

Enumeration Constants

MemberDescription
Success
The operation completed successfully. This is a common status code. It can be returned by any Platform SDK method.
InternalError
An internal error occurred. This is a common status code. It can be returned by any Platform SDK method.
NotInitialized
The platform is not initialized. This is a common status code. It can be returned by any Platform SDK method.
EntitlementFailure
Entitlement check failed. This is a common status code. It can be returned by any Platform SDK method.
RateLimitExceeded
Rate limit exceeded. This is a common status code. It can be returned by any Platform SDK method.
Forbidden
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
NetworkUnavailable
No network connection available. This is a common status code. It can be returned by any Platform SDK method.
ProviderUnknownError
Unknown error. This is a common status code. It can be returned by any Platform SDK method.
ProviderFeatureNotEnabled
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
ProviderOperationNotSupported
Operation is not supported. This is a common status code. It can be returned by any Platform SDK method.
ProviderInitializationFailed
Failed to initialize provider. This is a common status code. It can be returned by any Platform SDK method.
ProviderGraphApiError
Graph API error. This is a common status code. It can be returned by any Platform SDK method.
InvalidRequest
Invalid request error. This error occurs when the API receives an invalid or unsupported request.
UserNotRanked
User not ranked on leaderboard error. This error occurs when attempting to retrieve leaderboard entries centered on the viewer, but the current user does not have a rank on the specified leaderboard.
LeaderboardNotConfigured
Leaderboard not configured error. This error occurs when attempting to write an entry to a leaderboard that has not been configured for this application.

Properties

value : Int
[Get]
Signature
val value: Int