Android - 强制传感器?

发布于 2024-12-04 11:22:19 字数 60 浏览 1 评论 0原文

Android 设备上的硬件是否有强制列表(例如磁场、距离)?

如果不是,哪一种是常见的?

Is there a mandatory list for hardware on Android devices (e.g. magnetic field, distance)?

If not, which one are common?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

虐人心 2024-12-11 11:22:19

这些内容在 Android 兼容性定义文档 (CDD) 中定义。

这里是当前的。查看硬件传感器部分 [7.3.]。
据我所知,所有传感器都是可选的。

大多数设备都配备了以下传感器:

  • GPS
  • 加速计
  • 接近传感器
  • 磁场
  • 重力

(来自 API观点,有些在硬件基础上可能是相同的)

These things are defined in the Android Compatibility Definition Document (CDD).

Here is the current one. Check out the hardware-sensors section [7.3.].
As far as I can see all sensors are optional.

Most devices are equipped with the following sensors:

  • GPS
  • Accelerometer
  • Proximity sensor
  • Magnetic field
  • Light
  • Gravity

(from an API viewpoint, some might be the same on a hardware basis)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文