Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
Login
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
AccountAgeCategory
PlatformInitializeResult
ProductType
models
models
PlatformInitialize
Price
Product
ProductArray
Purchase
PurchaseArray
UserAccountAgeCategory
options
options
PlatformInitializeOptions
requests
requests
IAP
Request
Request
Handler
UserAgeCategory
Code samples
Downloads
Release notes
Supported platforms
com
PlatformInitialize Class
A
PlatformInitialize
object defines an attempt at initializing the Platform SDK. It contains the result of attempting to initialize the platform. The different types of initialization results are PlatformInitializeResult.
Member Functions
PlatformInitialize
( final long ptr )
PlatformInitializeResult
getResult
( )
The result of attempting to initialize the platform:
com
.meta
.horizon
.platform
.ovr
.enums.PlatformInitializeResult#Success
- Platform SDK initialization succeeded.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#Uninitialized
- Platform SDK was not initialized.
com
.meta
.horizon
.platform
.ovr
.enums.PlatformInitializeResult#PreLoaded
- Platform SDK failed to initialize because the pre-loaded module was on a different path than the validated library.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#FileInvalid
- Platform SDK files failed to load.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#SignatureInvalid
- Platform SDK failed to initialize due to an invalid signature in the signed certificate.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#UnableToVerify
- Platform SDK failed to verify the application's signature during initialization.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#VersionMismatch
- There was a mismatch between the version of Platform SDK used by the application and the version installed on the user's device.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#InvalidCredentials
- Platform SDK failed to initialize because the user had an invalid account access token.
com
.meta
.horizon
.platform
.ovr
.enums
.PlatformInitializeResult#NotEntitled
- Platform SDK failed to initialize because the user does not have the application entitlement.
Returns
PlatformInitializeResult
Did you find this page helpful?
Build with Meta
Social Technologies
Meta Horizon
AI
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
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
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