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

ChallengeEntry Class

A challenge entry object contains information about an individual entry within a challenge such as the user who made the entry, the score achieved, and other relevant details. It's the array element type of Models.ChallengeEntryArray and can be retrieved using Challenges.GetEntries().

Constructors

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

Fields

DisplayScore : readonly string
A displayable score for this challenge entry. The score is formatted with thousands separators and the relevant units are appended based on the associated leaderboard's score type.
Signature
readonly string Oculus.Platform.Models.ChallengeEntry.DisplayScore
ExtraData : readonly byte []
A 2KB custom data field that is associated with the challenge entry.
Signature
readonly byte [] Oculus.Platform.Models.ChallengeEntry.ExtraData
ID : readonly UInt64
The unique identifier of this challenge entry which can be used by Challenges.GetEntriesByIds() and Challenges.GetEntries().
Signature
readonly UInt64 Oculus.Platform.Models.ChallengeEntry.ID
Rank : readonly int
Challenges can be ranked by highest or lowest scores within a time period. This indicates the position of this challenge entry.
Signature
readonly int Oculus.Platform.Models.ChallengeEntry.Rank
Score : readonly long
The raw underlying value of the challenge entry score. It is a type of string that is returned by a long integer.
Signature
readonly long Oculus.Platform.Models.ChallengeEntry.Score
Timestamp : readonly DateTime
The timestamp of the creation of this entry in the challenge.
Signature
readonly DateTime Oculus.Platform.Models.ChallengeEntry.Timestamp
User : readonly User
The user corresponding to this entry within the challenge.
Signature
readonly User Oculus.Platform.Models.ChallengeEntry.User