Error when using the polymerize API for HMS location

67 Views Asked by At

When I use the polymerize API of Huawei and if I included com.huawei.instantaneous.location.sample, the polymerize API does not work --

if I do not include it, it does "work".

{"dataTypeName":"com.huawei.instantaneous.location.sample"},

{"dataTypeName":"com.huawei.instantaneous.heart_rate"},

{"dataTypeName":"com.huawei.continuous.calories.burnt"},

{"dataTypeName":"com.huawei.instantaneous.speed"}],

"startTime":1448940711000,"endTime":1448943334000}

Any idea or help?

1

There are 1 best solutions below

0
On BEST ANSWER

com.huawei.instantaneous.location.sample is public atomic data types but not public statistical data types. so when you included com.huawei.instantaneous.location.sample, the polymerize API does not work.

Pls refer to this website for more info.