Jump to content

Wave Native SDK: DeviceResume and DeviceSuspend events not fired


krasi_quarkvr

Recommended Posts

We are having trouble determining whether the use has taken off the headset. Looks like WVR_EventType_DeviceSuspend and WVR_EventType_DeviceResume events are not fired. Please advice what's the correct way for the app to know the headset has been taken off, since we need to take additional actions.

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

I don't know if you're using Unity, but if so, then maybe what you want is the OnApplicationFocus(bool focus) callback? I use it in my game and it works for detecting when user leaves the application (goes to Home, Library, Settings etc), but I haven't tested if it detects when user takes the headset off.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...