Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为我的应用程序使用设备的环境光检测(设置与日光/月光相关的应用程序亮度)。可能吗?如果是这样,我在哪里可以找到 API?
感谢您未来的回答。
这个Stack Overflow 问题可能有用——它讨论了接近传感器、环境光传感器和未记录的 SDK 调用。看起来也有一些示例代码。