The following table lists the exercise record type.
Workout Type Constant | Description | Data Source |
|---|---|---|
HiHealthActivities.ROWING_MACHINE | Rower workout. | Available on rowing machines and other professional equipment. |
Field | Description | Constant in the SDK for Android | Type | Mandatory | Unit | Value Range |
|---|---|---|---|---|---|---|
strokes_num | Cumulative number of strokes. | Field.STROKES_NUM | int | Yes | Stroke | [0, 100000] |
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 | - |
com.huawei.continuous.stroke_rate.statistics | Rowing stroke rate statistics. | No | - |
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.resistance.statistics | Resistance statistics. | No | Available on rowing machines and other professional equipment. |
com.huawei.continuous.power.statistics | Power statistics. | No | Available on rowing machines and other professional equipment. |
com.huawei.continuous.speed.statistics | Speed statistics. | No | Available on rowing machines and other professional equipment. |
For details about the data scope, please refer to OAuth Scope Description.
Atomic Sampling Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.instantaneous.stroke_rate | Rowing stroke rate details. | No | Available on rowing machines and other professional equipment. |
com.huawei.instantaneous.exercise_heart_rate | Workout heart rate details. | No | Available when the user wears Huawei watches or bands. |
com.huawei.resistance | Resistance details. | No | Available on rowing machines and other professional equipment. |
com.huawei.instantaneous.power.sample | Power details. | No | Available on rowing machines and other professional equipment. |
com.huawei.instantaneous.speed | Speed details. | No | Available on rowing machines and other professional equipment. |
The following table lists the exercise record type.
Workout Type Constant | Description | Data Source |
|---|---|---|
HiHealthActivities.ROWING | Rowing. | Bands and watches |
Field | Description | Constant in the SDK for Android | Type | Mandatory | Unit | Value Range |
|---|---|---|---|---|---|---|
strokes_num | Cumulative number of strokes. | Field.STROKES_NUM | int | Yes | Stroke | [0, 100000] |
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 | - |
com.huawei.continuous.stroke_rate.statistics | Rowing stroke rate statistics. | No | - |
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. |
Each atomic sampling data type associated with an exercise record requires independent OAuth scopes. For details, please refer to OAuth scopes of the corresponding sampling data type.
Atomic Sampling Data Type | Description | Mandatory | Remarks |
|---|---|---|---|
com.huawei.instantaneous.stroke_rate | Rowing stroke rate details. | No | Available on rowing machines and other professional equipment. |
com.huawei.instantaneous.exercise_heart_rate | Workout heart rate details. | No | Available when the user wears Huawei watches or bands. |