Forum Discussion
LENS_Immersive
9 years agoHonored Guest
How to know when the Health and Safety Warning is acknowledged by user (Oculus SDK v1.3)?
Using Oculus SDK v1.3, how do you determine when the user has dismissed the Health and Safety warning screen that appears when the application is launched? Thanks
LENS_Immersive
9 years agoHonored Guest
Thanks for the replies.
ovr_GetSessionStatus() returns a ovrSessionStatus structure that has IsVisible set to true, even when the HSW is being displayed.
I've found a hack solution by monitoring the %LOCALAPPDATA%\Oculus\Service_*.txt file, looking for the line when the HSV is acknowledged.
It would be ideal if there was an official callback or something to let the app. know that the HSV has been acknowledged (and a corresponding function to know if it's being displayed).
ovr_GetSessionStatus() returns a ovrSessionStatus structure that has IsVisible set to true, even when the HSW is being displayed.
I've found a hack solution by monitoring the %LOCALAPPDATA%\Oculus\Service_*.txt file, looking for the line when the HSV is acknowledged.
It would be ideal if there was an official callback or something to let the app. know that the HSV has been acknowledged (and a corresponding function to know if it's being displayed).
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago
- 4 years ago