API reference

EOvrPlatformInitializeResult Enum

Describes the various results possible when attempting to initialize the platform. Anything other than ::ovrPlatformInitialize_Success should be considered a fatal error with respect to using the platform, as the platform is not guaranteed to be legitimate or work correctly.

Enumeration Constants

MemberValueDescription
Success
0
Oculus Platform SDK initialization succeeded.
Uninitialized
uint8(-1)
Oculus Platform SDK was not initialized.
PreLoaded
uint8(-2)
Oculus Platform SDK failed to initialize because the pre-loaded module was on a different path than the validated library.
FileInvalid
uint8(-3)
Oculus Platform SDK files failed to load.
SignatureInvalid
uint8(-4)
Oculus Platform SDK failed to initialize due to an invalid signature in the signed certificate.
UnableToVerify
uint8(-5)
Oculus Platform SDK failed to initialize due to unable to verify the application's signature during initialization.
VersionMismatch
uint8(-6)
There was a mismatch between the version of Oculus Platform SDK used by the application and the version installed on the Oculus user's device.
Unknown
uint8(-7)
InvalidCredentials
uint8(-8)
Oculus Platform SDK failed to initialize because the Oculus user had an invalid account access token.
NotEntitled
uint8(-9)
Oculus Platform SDK failed to initialize because the Oculus user does not have the application entitlement.