Using OpenXR, how do you check if the Oculus/Steam menu is open?

As title says, just need to know how to accomplish that using OpenXR to be able to hide hand renderers while the menu is open.

Someone already asked this question a few hours earlier and I provided my input:

Unity’s own OnApplicationPause() method might be what you need. It works for Oculus when the menu is opened.

I’ve tried OnApplicationPause before, and it did not work. I assume there would be an OpenXR specific API call we can do to check it.

I ran in to the same issue. The Oculus documentation seems to say that OnApplicationPause is the answer but I’ve found that OnApplicationFocus seems to work for the Oculus Quest menus.