Build with Meta
Social Technologies
Meta Horizon
AI
Horizon Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Horizon Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Horizon Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2025 Meta
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
com
meta
horizon
platform
ovr
ovr
Core
Error
Message
Message
MessageType
enums
enums
AbuseReportType
AbuseReportVideoMode
AccountAgeCategory
AchievementType
AppAgeCategory
AppInstallResult
AppStatus
ChallengeCreationType
ChallengeViewerFilter
ChallengeVisibility
KeyValuePairType
LaunchResult
LaunchType
LeaderboardFilterType
LeaderboardStartAt
LivestreamingAudience
LivestreamingMicrophoneStatus
LivestreamingStartStatus
LogEventName
LogEventParameter
MediaContentType
MultiplayerErrorErrorKey
NetSyncConnectionStatus
NetSyncDisconnectReason
NetSyncVoipMicSource
NetSyncVoipStreamMode
OfferTerm
OfferType
PartyMicState
PartyUpdateAction
PermissionGrantStatus
PermissionType
PlatformInitializeResult
ProductType
ReportRequestResponse
SdkAccountType
ServiceProvider
ShareMediaStatus
SystemVoipStatus
TimeWindow
UserOrdering
UserPresenceStatus
VoipBitrate
VoipDtxState
VoipMuteState
VoipSampleRate
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
options
AbuseReportOptions
AdvancedAbuseReportOptions
ApplicationOptions
AvatarEditorOptions
ChallengeOptions
InviteOptions
MultiplayerErrorOptions
NetSyncOptions
PlatformInitializeOptions
RosterOptions
UserOptions
VoipOptions
requests
requests
AbuseReport
Achievements
Application
ApplicationLifecycle
AssetFile
Avatar
Challenges
Cowatching
DeviceApplicationIntegrity
Entitlements
IAP
LanguagePack
Leaderboards
Media
Notifications
Parties
PushNotification
Request
Request
Handler
UserAgeCategory
Users
Voip
Code samples
Downloads
Release notes
Supported platforms
com
​
Back to Supported platforms
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
Did you find this page helpful?
Why Meta Quest?
Design
Develop
API reference
Distribute
Blog
Support
Login