JavaScript中的"Your Presence"API是什么?

What is "Your Presence" API in JavaScript?

我正在访问网站权限并注意到“您的存在”

那么,这是什么意思?这个有 API 吗?这会调出传感器提示吗?

如果这是一个 API,我想知道如何使用它。

Google 将我带到 this page,它说:

idle-detection: Change "User presence" to "Your presence"

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.

参见 Sensor APIs on MDN, Proximity Events, and the Idle Detection API

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.

这是一项仍在开发中的非常实验性的技术。好像还没有完全上线。