【发布时间】:2021-12-29 17:34:31
【问题描述】:
我希望你能帮助我...问题是我从 Health kit API 中获取了所有样本点,它工作正常,除了它显示的蛋白质值始终为 0,我检查了华为健康应用程序那里正确显示了蛋白质的值,使用的设备是Matepad T8,这是端点的简短回答
{"samplePoints":{
"com.huawei.instantaneus.body_weight":{"startTime":1640210232971000000,"endTime":1640210232971000000:, "dataTypeName":"com.huawei.instantaneous.body_weight","originalDataCollectorId":"raw:com.huawei.instantaneous.body_weight:com.huawei.health:HUAWEI:HUAWEI Body Fat Scale:5C:CA:D3:08:07:C2:168969165","value":[{"fieldName":"body_weight","floatValue":81.80000305175781},{"fieldName":protein_rate"},{....}]}}}
在我正在开发的应用程序中显示 0,因为端点给出 0 值,这是来自 Matepad T8
【问题讨论】:
标签: huawei-mobile-services healthkit