I was accessing a sites permissions and noticed "Your Presence"
So, what does this mean? Is there an API for this? Does this bring up the sensor prompt?
If this is an JS API, I would like to know how to use it. Thank you all 🙂
idle-detection: Change "User presence" to "Your presence"
and
Summary:
There’s a chrome.idle.* API that allows chrome apps to detect when the user is active or idle, and when the screen is locked. We should expose something similar to the web for use by chat apps, etc.
The Idle Detection API notifies developers when a user is idle, indicating such things as lack of interaction with the keyboard, mouse, screen, activation of a screensaver, locking of the screen, or moving to a different screen. A developer-defined threshold triggers the notification.
It’s very experimental technology that’s still in development. It looks like it hasn’t fully launched yet.
Google leads me to this page, which says:
and
See Sensor APIs on MDN, Proximity Events, and the Idle Detection API.
It’s very experimental technology that’s still in development. It looks like it hasn’t fully launched yet.