Why Meta VR?
Overview
Meta VR Glasses
What is mixed reality?
Platforms
2D apps for Meta VR
AI tools
Devices
Use cases
Success stories
Developer programs
Essentials
Design
Develop
Get started
API reference
Code samples
Downloads
Release notes
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
com
meta
horizon
platform
ovr
ovr
Core
Error
Message
enums
models
models
AbuseReportRecording
AchievementDefinition
AchievementDefinitionArray
AchievementProgress
AchievementProgressArray
AchievementUpdate
AppDownloadProgressResult
AppDownloadResult
ApplicationVersion
AssetDetails
AssetDetailsArray
AssetFileDeleteResult
AssetFileDownloadCancelResult
AssetFileDownloadResult
AssetFileDownloadUpdate
AvatarEditorResult
BillingPlan
BillingPlanArray
BlockedUser
BlockedUserArray
Challenge
ChallengeArray
ChallengeEntry
ChallengeEntryArray
ContentRating
CowatchViewer
CowatchViewerArray
CowatchViewerUpdate
CowatchingState
Destination
DestinationArray
InstalledApplication
InstalledApplicationArray
InvitePanelResultInfo
LanguagePackInfo
LaunchBlockFlowResult
LaunchDetails
LaunchFriendRequestFlowResult
LaunchInvitePanelFlowResult
LaunchReportFlowResult
LaunchUnblockFlowResult
Leaderboard
LeaderboardArray
LeaderboardEntry
LeaderboardEntryArray
LeaderboardUpdateStatus
LinkedAccount
LinkedAccountArray
LivestreamingApplicationStatus
LivestreamingStartResult
LivestreamingStatus
LivestreamingVideoStats
ManagedInfo
MicrophoneAvailabilityState
NetSyncConnection
NetSyncSession
NetSyncSessionArray
NetSyncSessionsChangedNotification
NetSyncSetSessionPropertyResult
NetSyncVoipAttenuationValue
NetSyncVoipAttenuationValueArray
OrgScopedID
PaidOffer
Party
PartyID
PartyUpdateNotification
Pid
PidArray
PlatformInitialize
Price
Product
ProductArray
Purchase
PurchaseArray
PushNotificationResult
RejoinDialogResult
SdkAccount
SdkAccountArray
ShareMediaResult
SupplementaryMetric
SystemVoipState
TrialOffer
TrialOfferArray
User
UserAccountAgeCategory
UserArray
UserCapability
UserCapabilityArray
UserDataStoreUpdateResponse
UserProof
UserReportID
options
requests
Code samples
Downloads
Release notes
Supported platforms
com
Challenge Class
Challenges leverage
com
.meta
.horizon.platform.ovr.models.Destination
and Group Presence to create shareable links that allow players to compete directly based on score.
Challenges can be ranked by highest or lowest scores within a time period. Any application that uses Leaderboards gets Challenges for free. It appears in the Scoreboards UI. Players can create Challenges and send invites through the Challenges app.
Member Functions
Challenge
( final long ptr )
ChallengeCreationType
getCreationType
( )
An enum that specifies if this challenge was created by a user (
com
.meta
.horizon
.platform
.ovr
.enums.ChallengeCreationType#UserCreated
) or the app developer (
com
.meta
.horizon
.platform
.ovr
.enums
.ChallengeCreationType#DeveloperCreated
).
Returns
ChallengeCreationType
String
getDescription
( )
A displayable string of the challenge's description.
Returns
String
LocalDateTime
getEndDate
( )
The timestamp when this challenge ends. You can retrieve this field from the response of the challenge creation request.
Returns
LocalDateTime
long
getID
( )
The ID of the challenge. This is an unique string that the application will refer to this challenge in your app.
Returns
long
UserArray
getInvitedUsers
( )
Users that are invited to this challenge.
Returns
UserArray
Leaderboard
getLeaderboard
( )
The
com
.meta
.horizon.platform.ovr.models.Leaderboard
associated with this challenge. You can retrieve the leaderboard ID from the response of the challenge creation request.
Returns
Leaderboard
UserArray
getParticipants
( )
Users that have participated in this challenge.
Returns
UserArray
LocalDateTime
getStartDate
( )
The timestamp when this challenge begins. You can retrieve this field from the response of the challenge creation request.
Returns
LocalDateTime
String
getTitle
( )
A displayable string of the challenge's title.
Returns
String
ChallengeVisibility
getVisibility
( )
An enum that specifies who can see and participate in this challenge.
com
.meta
.horizon
.platform
.ovr.enums.ChallengeVisibility#InviteOnly
- Only those invited can participate in it. Everyone can see it.
com
.meta
.horizon
.platform
.ovr.enums.ChallengeVisibility#Public
- Everyone can participate and see this challenge.
com
.meta
.horizon
.platform
.ovr.enums.ChallengeVisibility#Private
- Only those invited can participate and see this challenge.
Returns
ChallengeVisibility
Build with Meta
Social Technologies
Meta VR
AI
Worlds
About us
Careers
Research
Products
Meta VR
Developer Blog
Download SDKs
Meta for Work
Programs and resources
Start Program
Meta Horizon Creator Program
Meta VR Academy
Discover
Why Meta VR?
What is mixed reality?
Platforms and tools
2D apps for Meta VR
Devices
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta VR
AI
Worlds
About us
Careers
Research
Products
Meta VR
Developer Blog
Download SDKs
Meta for Work
Programs and resources
Start Program
Meta Horizon Creator Program
Meta VR Academy
Discover
Why Meta VR?
What is mixed reality?
Platforms and tools
2D apps for Meta VR
Devices
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta VR
AI
Worlds
About us
Careers
Research
Products
Meta VR
Developer Blog
Download SDKs
Meta for Work
Programs and resources
Start Program
Meta Horizon Creator Program
Meta VR Academy
Discover
Why Meta VR?
What is mixed reality?
Platforms and tools
2D apps for Meta VR
Devices
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta