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

OVR_ChallengeOptions.h File

Typedefs

The Challenge Option is a parameter that can be passed in the ovr_Challenges_GetList() method to retrieve a list of challenges that match the specified options. The ovr_ChallengeOptions_Create parameter allows you to specify the criteria for the challenges you want to retrieve, such as the viewer filter, the visibility, or the date range.

Functions

Creates a new instance of ovrChallengeOptionsHandle() which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
Destroys an existing instance of the ovrChallengeOptionsHandle() and frees up memory when you're done using it.
The description of the challenge is a detailed and informative text that provides a comprehensive overview of the challenge's objectives, rules, and requirements, which can be retrieved with ovr_Challenge_GetDescription().
The challenge end date is the timestamp when this challenge ends, which can be retrieved using ovr_Challenge_GetEndDate().
This option indicates whether to include challenges that are currently active in the search results. By default, this is set to true, meaning that only active challenges will be returned.
This option indicates whether to include challenges that have not yet started in the search results. By default, this is set to false, meaning that only active will be returned.
This option indicates whether to include challenges that have already ended in the search results. By default, this is set to false, meaning that only active will be returned.
Optional: Only find challenges belonging to this leaderboard. This filter allows you to narrow down the search results to only include challenges that are associated with a specific leaderboard.
The challenge start date is the timestamp when this challenge begins, which can be retrieved using ovr_Challenge_GetStartDate().
The title of the challenge is a descriptive label that provides a concise summary of the challenge's purpose and objectives, which can be retrieved with ovr_Challenge_GetTitle().
An enum that specifies what filter to apply to the list of returned challenges.Returns all public (ovrChallengeVisibility_Public) and invite-only (ovrChallengeVisibility_InviteOnly) ovrChallengeHandles in which the user is a participant or invitee. Excludes private (ovrChallengeVisibility_Private) challenges.ovrChallengeViewerFilter_Participating - Returns challenges the user is participating in.ovrChallengeViewerFilter_Invited - Returns challenges the user is invited to.ovrChallengeViewerFilter_ParticipatingOrInvited - Returns challenges the user is either participating in or invited to.
The challenge visibility setting specifies who can see and participate in this challenge, which be retrieved with ovr_Challenge_GetVisibility(). There are three visibility levels: ovrChallengeVisibility_Public, ovrChallengeVisibility_InviteOnly and ovrChallengeVisibility_Private.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon