Unity.WSA.windowActivated purpose/usage

Hi,

In 4.3 Unity.WSA.windowActivated does not appear to map to an underlying windows storeevent handler

the handler passes in this enum:
UnityEngine.WSA.WindowActivationState

Which has the following values: CodeActivated, PointerActivated, Deactivated

From what i can see it’s got nothing to do with app activation, nor is it simply visibility changed, it seems to be related to whether or not the window has focus (E.g. the Deactivated fires when you invoke the Share charm for example).

I was not sure how PointerActivated was to be fired at all.

It would be good to get some clarification on exactly what this handler is for from Unity peeps, thanks!

This event exposes corresponding platform event to scripting:

WinRT event has only Handled property, which we do not expose to scripting, and this one: