简体   繁体   English

如何检测室内是否装有Google Fit的android设备?

[英]How can I detect if an android device indoor with Google Fit?

We have an Android App which using Google Fit. 我们有一个使用Google Fit的Android应用。 We counting steps and distance for awarding users by this values. 我们计算通过此值奖励用户的步骤和距离。

But we want detect if device indoor. 但是我们要检测设备是否在室内。 Is it possible with Google Fit Api? Google Fit Api是否可以?

Thanks in advance. 提前致谢。

This feature does not exist in the Fit API yet. Fit API中尚不存在此功能。 Looking through the docs, it does not mention a way to detect whether you are indoor or outdoor. 浏览文档时,没有提到检测您是室内还是室外的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM