在"iOS运行状况"部分填充“正念"部分 [英] Populating the mindfulness section in the iOS Health Section

查看:72
本文介绍了在"iOS运行状况"部分填充“正念"部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现健康"应用程序具有正念"部分,但我在文档中没有找到如何为该部分做出贡献.通过网络搜索满足这一要求,我得到了世界范围内撤退中心的集合……您能指导我一些有意义的事情吗?

I found the Health app has a mindfulness section, yet I did not find in the documentation how to contribute to that section. Concocting a web search for this requirement returns me a collection of worldwide retreat centers... could you direct me to something meaningful?

推荐答案

我找到了HKCategoryTypeIdentifierMindfulSession.

用于记录正念会话的类别样本类型.

A category sample type for recording a mindful session.

Apple文档.

这仅是iOS 10+.我认为他们是为新的Breathe应用程序创建的,用于跟踪您花费了多少时间进行冥想.太棒了,如果您在此区域构建冥想应用程序或其他工具,则应使用此功能.

This is iOS 10+ only. I think they created this for the new Breathe app to track how much time you spent meditating. It is awesome, you should use this if you building meditation app or something in this area.

这篇关于在"iOS运行状况"部分填充“正念"部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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