API reference
API reference
Select your platform
No SDKs available
No versions available

Leaderboard Class

Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about leaderboard on our website.

Constructors

Leaderboard ( o )
Signature
Oculus.Platform.Models.Leaderboard.Leaderboard(IntPtr o)
Parameters
o: IntPtr

Fields

ApiName : readonly string
The API name of this leaderboard. This is a unique string that your application will refer to this leaderboard in your app code.
Signature
readonly string Oculus.Platform.Models.Leaderboard.ApiName
Destination : readonly Destination
Signature
readonly Destination Oculus.Platform.Models.Leaderboard.Destination
DestinationOptional : readonly Destination
An optional deep link Models.Destination, which means when a user clicks on the leaderboard, they will be taken to this in-app destination.
Signature
readonly Destination Oculus.Platform.Models.Leaderboard.DestinationOptional
ID : readonly UInt64
The generated GUID of this leaderboard.
Signature
readonly UInt64 Oculus.Platform.Models.Leaderboard.ID