Skip to content
AF
Wear OS reference

DataType.REP_COUNT: Wear OS Health Services data type

Read from Google’s documentation on 2026-10-04 · Google’s DataType reference last updated 2026-08-06

DataType.REP_COUNT is a DeltaDataType constant of Wear OS Health Services (androidx.health.services.client.data.DataType), declared as DeltaDataType<Long, IntervalDataPoint<Long>>: each value is a Long delivered in an IntervalDataPoint. Google describes it as: “The number of repetitions of an exercise performed since the last update.” Google's Health Services permissions table lists it under ACTIVITY_RECOGNITION. The same reference defines REP_COUNT_TOTAL, an AggregateDataType (AggregateDataType<Long, CumulativeDataPoint<Long>>).

What Google says DataType.REP_COUNT is

The number of repetitions of an exercise performed since the last update.

Quoted from Google’s DataType reference, last updated 2026-08-06, read 2026-10-04.

Declared type

Read from the constant’s declaration in Google’s reference: the data-type class, then the value type and the data-point class it delivers.

Constant
androidx.health.services.client.data.DataType.REP_COUNT
Declared type
DeltaDataType<Long, IntervalDataPoint<Long>>
Data-type class
DeltaDataTypeGoogle: “DataType that represents a granular, non-aggregated point in time.”
Value type
Long
Data-point class
IntervalDataPoint
Added in
not printed for this constant; Google’s reference prints “Added in 1.0.0” for the DataType class in androidx.health:health-services-client
Deprecated
not marked deprecated in Google's reference

Permission

Google’s Health Services permissions table lists DataType.REP_COUNT under ACTIVITY_RECOGNITION. The row as printed, read 2026-10-04:

CALORIES CALORIES_DAILY DISTANCE_DAILY DECLINE_DISTANCE DISTANCE ELEVATION_GAIN ELEVATION_LOSS FLAT_GROUND_DISTANCE FLOORS FLOORS_DAILY GOLF_SHOT_COUNT INCLINE_DISTANCE PACE REP_COUNT RUNNING_STEPS SPEED STEPS STEPS_DAILY STEPS_PER_MINUTE SWIMMING_LAP_COUNT SWIMMING_STROKES CALORIES_TOTAL WALKING_STEPS UserActivityInfo UserActivityState | ACTIVITY_RECOGNITION

Above the table, the same page lists the permissions Health Services uses, verbatim:

  • READ_HEART_RATE for reading heart rate information.
  • ACTIVITY_RECOGNITION
  • ACCESS_FINE_LOCATION
  • BODY_SENSORS on Wear OS 5.1 (API level 35) and lower
  • BODY_SENSORS_BACKGROUND between Wear OS 4 (API level 33) and Wear OS 5.1 (API level 35), inclusive

Its aggregate counterpart

By Google’s naming on the same reference (a delta constant NAME beside an aggregate NAME_TOTAL or NAME_STATS): REP_COUNT_TOTAL, declared AggregateDataType<Long, CumulativeDataPoint<Long>>. Google describes it as:

The number of repetitions of an exercise performed since the start of the current active exercise.

Health Connect and HealthKit

No verified mapping. This site’s cross-platform matrix pairs HealthKit types with Health Connect records only, and no data here maps a Health Services constant to either, so this page names no counterpart rather than matching by name. The record types themselves are in the Health Connect record reference and the HealthKit identifier reference.

Questions

What permission does DataType.REP_COUNT need on Wear OS?
ACTIVITY_RECOGNITION. Google's Health Services permissions table (read 2026-10-04) lists REP_COUNT in the row "CALORIES CALORIES_DAILY DISTANCE_DAILY DECLINE_DISTANCE DISTANCE ELEVATION_GAIN ELEVATION_LOSS FLAT_GROUND_DISTANCE FLOORS FLOORS_DAILY GOLF_SHOT_COUNT INCLINE_DISTANCE PACE REP_COUNT RUNNING_STEPS SPEED STEPS STEPS_DAILY STEPS_PER_MINUTE SWIMMING_LAP_COUNT SWIMMING_STROKES CALORIES_TOTAL WALKING_STEPS UserActivityInfo UserActivityState | ACTIVITY_RECOGNITION".
Is DataType.REP_COUNT a delta or an aggregate data type?
A delta type: Google's reference declares it as DeltaDataType<Long, IntervalDataPoint<Long>>. Google describes DeltaDataType as "DataType that represents a granular, non-aggregated point in time."
What value type does DataType.REP_COUNT deliver?
Long, in an IntervalDataPoint, per the declaration DeltaDataType<Long, IntervalDataPoint<Long>>. Google's description: "The number of repetitions of an exercise performed since the last update."
Which aggregate constant goes with DataType.REP_COUNT?
By Google's naming on the same reference, REP_COUNT_TOTAL (AggregateDataType<Long, CumulativeDataPoint<Long>>). Google describes it as: "The number of repetitions of an exercise performed since the start of the current active exercise."

Sources checked

Google’s descriptions are quoted for identification; the page layout and the capsule are AIFitnessAPI’s. Generated by scripts/fetch-health-services-data-types.mjs, not typed by hand — the same data as the full data-type table.

← All Wear OS Health Services data types