Hololens 2 certainly has support for passing gaze direction, not sure about the first one.
I think the headsets are pretty much in alignment that it's a feature that needs permissions but they'll provide it to the app with focus.
Apple is a lot more protective.