Represents the state of a window.
Readonly
Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.
Whether the current window is focused.
Represents the state of a window.