The following table lists the exercise record type.
Workout Type | Description | Constant | Data Source |
|---|---|---|---|
running | Running. | 56 | Mobile phones, watches, and bands |
marathon | Marathon. | 161 | Watches |
You do not need to request OAuth scopes for each sampling statistical data type associated with an exercise record. This is because the sampling statistical data types associated with an exercise record are included in the summary data of ActivityRecord. You can access them with the scopes for accessing exercise records.
Sampling Statistical Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.continuous.distance.total | Distance statistics. | Yes | - |
com.huawei.continuous.speed.statistics | Speed statistics. | Yes | - |
com.huawei.continuous.calories.burnt.total | Calorie statistics. | Yes | - |
com.huawei.continuous.exercise_heart_rate.statistics | Workout heart rate statistics. | No | Available when the user wears Huawei watches or bands. |
com.huawei.continuous.steps.total | Step count statistics. | No | - |
com.huawei.continuous.steps.rate.statistics | Cadence statistics. | No | - |
com.huawei.continuous.run.posture.statistics | Running form statistics. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.continuous.altitude.statistics | Altitude statistics. | No | - |
com.huawei.resting_calories.statistics | Resting calories statistics. | No | - |
com.huawei.lactate_threshold | Lactate threshold statistics. | No | - |
com.huawei.steps.stride.statistics | Stride statistics. | No | - |
com.huawei.analog_power.statistics | Analog power statistics. | No | - |
For details about the data scope, please refer to OAuth Scope Description.
Atomic Sampling Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.instantaneous.exercise_heart_rate | Workout heart rate details. | No | Available when the user wears Huawei watches or bands. |
com.huawei.instantaneous.speed | Speed details. | No | - |
com.huawei.instantaneous.steps.rate | Cadence details. | No | Generally available in the running data generated by mobile phones, bands, and watches. |
com.huawei.continuous.run.posture | Running form details. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.instantaneous.altitude | Altitude details. | No | Available on phones and selected bands and watches that support GPS. |
com.huawei.recovery_heart_rate | Recovery heart rate details. | No | - |
You do not need to request OAuth scopes for each sampling statistical data type associated with an exercise record. This is because the sampling statistical data types associated with an exercise record are included in the summary data of ActivityRecord. You can access them with the scopes for accessing exercise records.
Sampling Statistical Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.continuous.distance.total | Distance statistics. | No | The distance field is supported. |
com.huawei.continuous.speed.statistics | Speed statistics. | No | The avg field is supported. |
com.huawei.continuous.exercise_heart_rate.statistics | Workout heart rate statistics. | No | The avg field is supported. |
com.huawei.continuous.steps.rate.statistics | Cadence statistics. | No | The avg field is supported. |
com.huawei.continuous.altitude.statistics | Altitude statistics. | No | The ascent_total and descent_total fields are supported. |
com.huawei.continuous.run.posture.statistics | Running form statistics. | No | The avg_ground_contact_time, avg_ground_impact_acceleration, avg_swing_angle, and avg_eversion_excursion fields are supported. |
The following table lists the exercise record type.
Workout Type | Description | Constant | Data Source |
|---|---|---|---|
running.machine | Indoor running on a treadmill. | 57 | Treadmills |
You do not need to request OAuth scopes for each sampling statistical data type associated with an exercise record. This is because the sampling statistical data types associated with an exercise record are included in the summary data of ActivityRecord. You can access them with the scopes for accessing exercise records.
Sampling Statistical Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.continuous.distance.total | Distance statistics. | Yes | - |
com.huawei.continuous.speed.statistics | Speed statistics. | Yes | - |
com.huawei.continuous.calories.burnt.total | Calorie statistics. | Yes | - |
com.huawei.continuous.exercise_heart_rate.statistics | Workout heart rate statistics. | No | Available when the user wears Huawei watches or bands. |
com.huawei.continuous.steps.total | Step count statistics. | No | - |
com.huawei.continuous.steps.rate.statistics | Cadence statistics. | No | - |
com.huawei.continuous.run.posture.statistics | Running form statistics. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.resting_calories.statistics | Resting calories statistics. | No | - |
com.huawei.analog_power.statistics | Analog power statistics. | No | - |
For details about the data scope, please refer to OAuth Scope Description.
Atomic Sampling Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.instantaneous.exercise_heart_rate | Workout heart rate details. | No | Available when the user wears Huawei watches or bands. |
com.huawei.instantaneous.speed | Speed details. | No | - |
com.huawei.instantaneous.steps.rate | Cadence details. | No | Generally available in the running data generated by mobile phones, bands, and watches. |
com.huawei.continuous.run.posture | Running form details. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.recovery_heart_rate | Recovery heart rate details. | No | - |
The following table lists the exercise record type.
Workout Type | Description | Constant | Data Source |
|---|---|---|---|
cross_country_race | Trail running. | 130 | Mobile phones, watches, and bands |
You do not need to request OAuth scopes for each sampling statistical data type associated with an exercise record. This is because the sampling statistical data types associated with an exercise record are included in the summary data of ActivityRecord. You can access them with the scopes for accessing exercise records.
Sampling Statistical Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.continuous.distance.total | Distance statistics. | Yes | - |
com.huawei.continuous.speed.statistics | Speed statistics. | Yes | - |
com.huawei.continuous.calories.burnt.total | Calorie statistics. | Yes | - |
com.huawei.continuous.exercise_heart_rate.statistics | Workout heart rate statistics. | No | Available when the user wears Huawei watches or bands. |
com.huawei.continuous.steps.total | Step count statistics. | No | - |
com.huawei.continuous.steps.rate.statistics | Cadence statistics. | No | - |
com.huawei.continuous.run.posture.statistics | Running form statistics. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.continuous.altitude.statistics | Altitude statistics. | No | - |
com.huawei.resting_calories.statistics | Resting calories statistics. | No | - |
For details about the data scope, please refer to OAuth Scope Description.
Atomic Sampling Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.instantaneous.exercise_heart_rate | Workout heart rate details. | No | Available when the user wears Huawei watches or bands. |
com.huawei.instantaneous.speed | Speed details. | No | - |
com.huawei.instantaneous.steps.rate | Cadence details. | No | Generally available in the running data generated by mobile phones, bands, and watches. |
com.huawei.continuous.run.posture | Running form details. | No | Available on Huawei bands and S-TAG products that support running form tracking. |
com.huawei.instantaneous.altitude | Altitude details. | No | Available on phones and selected bands and watches that support GPS. |
com.huawei.recovery_heart_rate | Recovery heart rate details. | No | - |
You do not need to request OAuth scopes for each sampling statistical data type associated with an exercise record. This is because the sampling statistical data types associated with an exercise record are included in the summary data of ActivityRecord. You can access them with the scopes for accessing exercise records.
Segment Statistical Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.continuous.distance.total | Distance statistics. | No | The distance field is supported. |
com.huawei.continuous.speed.statistics | Speed statistics. | No | The avg field is supported. |
com.huawei.continuous.exercise_heart_rate.statistics | Workout heart rate statistics. | No | The avg field is supported. |
com.huawei.continuous.steps.rate.statistics | Cadence statistics. | No | The avg field is supported. |
com.huawei.continuous.altitude.statistics | Altitude statistics. | No | The ascent_total and descent_total fields are supported. |
com.huawei.continuous.run.posture.statistics | Running form statistics. | No | The avg_ground_contact_time, avg_ground_impact_acceleration, avg_swing_angle, and avg_eversion_excursion fields are supported. |