如何将Apple Watch的传感器数据传输到iPhone? [英] How to get sensor data from Apple Watch to iPhone?

查看:163
本文介绍了如何将Apple Watch的传感器数据传输到iPhone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从Apple Watch获取传感器数据?例如,如何从Apple Watch连接并获取心率到我的应用程序?这些是我在我的应用程序中需要执行的步骤:

Is there a way to get sensor data from Apple Watch? For example, how can I connect and get heart rate from Apple Watch to my app? These are the steps I need do in my app:


  1. 定义代表以从Apple Watch接收心率信息。

  2. 向Apple Watch请求定期发送数据

我知道其他人力资源监控器是如何工作的BT。界面是否类似?或者应该依赖HealthKit来实现呢?

I know how it works for other HR monitors over BT. Is the interface similar to that? Or should depend on HealthKit to achieve that?

推荐答案

关于raywenderlich.com的WatchKit常见问题解答(滚动到你能从手表应用程序访问手表上的心跳传感器和其他传感器吗?)它看起来好像您无法访问传感器数据。

As per WatchKit FAQ on raywenderlich.com (scroll to "Can you access the heartbeat sensor and other sensors on the watch from your watch app?") it appears as though you can not access the sensor data.


否。目前没有API可以访问
Apple Watch上的硬件传感器。

No. There is currently no API to access the hardware sensors on the Apple Watch at this time.

这篇关于如何将Apple Watch的传感器数据传输到iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆