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

ChallengeOptions Class

Constructors

ChallengeOptions ()
Signature
Oculus.Platform.ChallengeOptions.ChallengeOptions()

Methods

SetDescription ( value )
The description of the challenge that can be retrieved with Challenge.GetDescription().
Signature
void Oculus.Platform.ChallengeOptions.SetDescription(string value)
Parameters
value: string
Returns
void
SetEndDate ( value )
The timestamp when this challenge ends which can be retrieved with Challenge.GetEndDate().
Signature
void Oculus.Platform.ChallengeOptions.SetEndDate(DateTime value)
Parameters
value: DateTime
Returns
void
SetIncludeActiveChallenges ( value )
This indicates whether to include challenges that are currently active.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludeActiveChallenges(bool value)
Parameters
value: bool
Returns
void
SetIncludeFutureChallenges ( value )
This indicates whether to include challenges that have not yet started.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludeFutureChallenges(bool value)
Parameters
value: bool
Returns
void
SetIncludePastChallenges ( value )
This indicates whether to include challenges that have already ended.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludePastChallenges(bool value)
Parameters
value: bool
Returns
void
SetLeaderboardName ( value )
Optional: Only find challenges belonging to this leaderboard.
Signature
void Oculus.Platform.ChallengeOptions.SetLeaderboardName(string value)
Parameters
value: string
Returns
void
SetStartDate ( value )
The timestamp when this challenge starts which can be retrieved with Challenge.GetStartDate().
Signature
void Oculus.Platform.ChallengeOptions.SetStartDate(DateTime value)
Parameters
value: DateTime
Returns
void
SetTitle ( value )
The title of the challenge that can be retrieved with Challenge.GetTitle().
Signature
void Oculus.Platform.ChallengeOptions.SetTitle(string value)
Parameters
value: string
Returns
void
SetViewerFilter ( value )
An enum that specifies what filter to apply to the list of returned challenges.
Returns all public ((ChallengeVisibility.Public)) and invite-only (ChallengeVisibility.InviteOnly) Challenges in which the user is a participant or invitee. Excludes private (ChallengeVisibility.Private) challenges.
ChallengeViewerFilter.Participating - Returns challenges the user is participating in.
ChallengeViewerFilter.Invited - Returns challenges the user is invited to.
ChallengeViewerFilter.ParticipatingOrInvited - Returns challenges the user is either participating in or invited to.
Signature
void Oculus.Platform.ChallengeOptions.SetViewerFilter(ChallengeViewerFilter value)
Parameters
Returns
void
SetVisibility ( value )
Specifies who can see and participate in this challenge. It can be retrieved with Challenge.GetVisibility().
Signature
void Oculus.Platform.ChallengeOptions.SetVisibility(ChallengeVisibility value)
Parameters
Returns
void

Static Methods

operator IntPtr ( options )
For passing to native C.
Signature
static Oculus.Platform.ChallengeOptions.operator IntPtr(ChallengeOptions options)
Parameters