Hi I tried to use Common.userPresence and tried to use the SystemEvent, and could not get the information of when the user removes the headset, I'm using a FOcus 3 but I can do a test on a XR Elite as well:
void Start()
{
Wave.Essence.Events.SystemEvent.Listen(WVR_EventType.WVR_EventType_DeviceResume, OnEventResume1);
Wave.Essence.Events.SystemEvent.Listen(WVR_EventType.WVR_EventType_DeviceSuspend, OnEventResume2);
Wave.Essence.Events.SystemEvent.Listen(WVR_EventType.WVR_EventType_DeviceInfoUpdate, OnEventResume3);
Wave.Essence.Events.SystemEvent.Listen(WVR_EventType.WVR_EventType_RenderingToBePaused, OnEventResume4);
Wave.Essence.Events.SystemEvent.Listen(WVR_EventType.WVR_EventType_RenderingToBeResumed, OnEventResume5);
}
private void OnEventResume1(WVR_Event_t systemEvent)
{
Debug.LogError("--------------- CALLED EVENT 1");
}
private void OnEventResume2(WVR_Event_t systemEvent)
{
Debug.LogError("--------------- CALLED EVENT 2");
}
private void OnEventResume3(WVR_Event_t systemEvent)
{
Debug.LogError("--------------- CALLED EVENT 3");
}
private void OnEventResume4(WVR_Event_t systemEvent)
{
Debug.LogError("--------------- CALLED EVENT 4");
}
private void OnEventResume5(WVR_Event_t systemEvent)
{
Debug.LogError("--------------- CALLED EVENT 5");
}