ChallengeOptions
()
|
Signature
Oculus.Platform.ChallengeOptions.ChallengeOptions() |
SetDescription
(
value
)
|
The description of the challenge that can be retrieved with Challenge.GetDescription().
Signature
void Oculus.Platform.ChallengeOptions.SetDescription(string value) Parameters value: stringReturns 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: DateTimeReturns void |
SetIncludeActiveChallenges
(
value
)
|
This indicates whether to include challenges that are currently active.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludeActiveChallenges(bool value) Parameters value: boolReturns void |
SetIncludeFutureChallenges
(
value
)
|
This indicates whether to include challenges that have not yet started.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludeFutureChallenges(bool value) Parameters value: boolReturns void |
SetIncludePastChallenges
(
value
)
|
This indicates whether to include challenges that have already ended.
Signature
void Oculus.Platform.ChallengeOptions.SetIncludePastChallenges(bool value) Parameters value: boolReturns void |
SetLeaderboardName
(
value
)
|
Optional: Only find challenges belonging to this leaderboard.
Signature
void Oculus.Platform.ChallengeOptions.SetLeaderboardName(string value) Parameters value: stringReturns 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: DateTimeReturns 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: stringReturns 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 value: ChallengeViewerFilterReturns 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 value: ChallengeVisibilityReturns void |
operator IntPtr
(
options
)
|
For passing to native C.
Signature
static Oculus.Platform.ChallengeOptions.operator IntPtr(ChallengeOptions options) Parameters options: ChallengeOptions |