目录

Steps

This data refers to the number of steps taken within a period of time. Each data record represents the step count accumulated within the specific period (from start time to end time). Data records cannot overlap. The start time of the next data record must be later than or equal to the end time of the previous data record.

OAuth Scope

To apply for the required scopes, go to Activity data > Steps on the Console of HUAWEI Developers.

Atomic Sampling Detailed Data Types

Field

Description

Type

Mandatory

Unit

Value Range

steps_delta

Incremental steps.

int

Yes

Step

Value range over 1 minute: (0, 500]

Value range over 1 hour: (0, 30000]

[h2]Data Openness

Open API

Query Timeliness

Data Source

Query sampling data details

In hours

Mobile phones, watches, bands, etc.

[h2]Data Subscription

Category

Event Type ID

Description

Sampling data event

SAMPLESET_EVENT$UPDATE$com.huawei.continuous.steps.delta

Category ID of the step data creation or update event.

SAMPLESET_EVENT$DELETE$com.huawei.continuous.steps.delta

Category ID of the step data deletion event.

Atomic Sampling Statistical Data Types

Field

Description

Type

Mandatory

Unit

steps

Total step count.

int

Yes

Step

duration

Walking duration.

int

No

Minute

[h2]Data Openness

Open API

Query Timeliness

Statistical Dimension

Data Source

Query statistics of multiple days

In 10 minutes

Sampling data by calendar days

Mobile phones, watches, bands, etc.

Query exercise records

In 10 minutes

Exercise record summary

Mobile phones, watches, bands, etc.

[h2]Data Subscription

Category

Event Type ID

Description

Sampling data event

SAMPLESET_EVENT$UPDATE$com.huawei.continuous.steps.total

Category ID of the step count statistics creation or update event.

SAMPLESET_EVENT$DELETE$com.huawei.continuous.steps.total

Category ID of the step count statistics deletion event.

Scenario Example

Step Count Statistics of Multiple Days

Writing Step Count