API reference
API reference
Select your platform
No SDKs available
No versions available

OVR_Requests_ApplicationLifecycle.h File

Functions

Return a list of all the pids that we know are registered to your application.A message with type ovrMessage_ApplicationLifecycle_GetRegisteredPIDs will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type ovrPidArrayHandle. Extract the payload from the message handle with ovr_Message_GetPidArray().
The launcher, which we know and trust can use this to create a key, pass it to the UWP app, which will be able to register using it as the original application.A message with type ovrMessage_ApplicationLifecycle_GetSessionKey will be generated in response.First call ovr_Message_IsError() to check if an error occurred.If no error occurred, the message will contain a payload of type const char *. Extract the payload from the message handle with ovr_Message_GetString().
The actual UWP app will be able to register as the original application using the GUID from ovr_ApplicationLifecycle_GetSessionKey().
Parameters
sessionKey
The GUID obtained by calling ovr_ApplicationLifecycle_GetSessionKey().
A message with type ovrMessage_ApplicationLifecycle_RegisterSessionKey will be generated in response.First call ovr_Message_IsError() to check if an error occurred.This response has no payload. If no error occurred, the request was successful. Yay!
Did you find this page helpful?
Thumbs up icon
Thumbs down icon