传感器

传感器可用性检查器

列出您的浏览器和设备公开的运动、方向和环境传感器。

隐私: 可用性检查是本地的。除非您明确请求实时样本,否则检查器不会启动传感器。
界面标签和工具名称已翻译。此页面上的详细指南和常见问题解答目前以英文编写。

测试接口

按“开始”后,您的浏览器可能会请求许可。
按开始开始。
运行检查—
Alpha—
Beta—
Gamma—
样品0
该检查器报告存在哪些传感器 API 以及浏览器是否公开权限状态。它并不能证明物理传感器是准确的。

如何使用这个工具

  1. Click Run sensor checks.
  2. Review each sensor row for supported, unavailable, or permission-required status.
  3. Request a live sample for supported motion sensors if desired.
  4. Stop the live sample when finished.

广告

技术说明

The checker looks for the Generic Sensor API constructors and DeviceOrientation/DeviceMotion events. Presence of a constructor does not guarantee that hardware is fitted or that permission will be granted.

Environmental sensors such as ambient light or pressure are rarely exposed to web pages. Unsupported status is a browser capability result, not a hardware diagnosis.

故障排除

Everything is unsupported

Use a mobile device and a current browser over HTTPS.

Permission is pending

Grant motion access from the browser prompt or site settings.

Sensor list differs from device specifications

Browsers expose only a subset of hardware sensors for privacy and compatibility reasons.

A sensor stops reporting

Background tabs and power saving can pause sensors. Keep the page visible.

常见问题

广告