API reference

OVR_PlatformInitializeResult.h File

Enumeration Types

Enumeration ovrPlatformInitializeResult_

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.
ovrPlatformInitialize_Success
Oculus Platform SDK initialization succeeded.
ovrPlatformInitialize_Uninitialized
Oculus Platform SDK was not initialized.
ovrPlatformInitialize_PreLoaded
Oculus Platform SDK failed to initialize because the pre-loaded module was on a different path than the validated library.
ovrPlatformInitialize_FileInvalid
Oculus Platform SDK files failed to load.
ovrPlatformInitialize_SignatureInvalid
Oculus Platform SDK failed to initialize due to an invalid signature in the signed certificate.
ovrPlatformInitialize_UnableToVerify
Oculus Platform SDK failed to verify the application's signature during initialization
ovrPlatformInitialize_VersionMismatch
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.
ovrPlatformInitialize_Unknown
= -7
ovrPlatformInitialize_InvalidCredentials
Oculus Platform SDK failed to initialize because the Oculus user had an invalid account access token.
ovrPlatformInitialize_NotEntitled
Oculus Platform SDK failed to initialize because the Oculus user does not have the application entitlement.

Typedefs

enum ovrPlatformInitializeResult_ ovrPlatformInitializeResult
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.

Functions

const char * ovrPlatformInitializeResult_ToString
Converts an ovrPlatformInitializeResult enum value to a string The returned string does not need to be freed
ovrPlatformInitializeResult ovrPlatformInitializeResult_FromString
( const char * str )
Converts a string representing an ovrPlatformInitializeResult enum value to an enum value