Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MetricsSummary

import type { MetricsSummary } from "https://googleapis.deno.dev/v1/health:v4.ts";

Summary metrics for an exercise.

interface MetricsSummary {
activeZoneMinutes?: bigint;
averageHeartRateBeatsPerMinute?: bigint;
averagePaceSecondsPerMeter?: number;
averageSpeedMillimetersPerSecond?: number;
caloriesKcal?: number;
distanceMillimeters?: number;
elevationGainMillimeters?: number;
heartRateZoneDurations?: TimeInHeartRateZones;
mobilityMetrics?: MobilityMetrics;
runVo2Max?: number;
steps?: bigint;
totalSwimLengths?: number;
}

§Properties

§
activeZoneMinutes?: bigint
[src]

Optional. Total active zone minutes for the exercise.

§
averageHeartRateBeatsPerMinute?: bigint
[src]

Optional. Average heart rate during the exercise.

§
averagePaceSecondsPerMeter?: number
[src]

Optional. Average pace in seconds per meter.

§
averageSpeedMillimetersPerSecond?: number
[src]

Optional. Average speed in millimeters per second.

§
caloriesKcal?: number
[src]

Optional. Total calories burned by the user during the exercise.

§
distanceMillimeters?: number
[src]

Optional. Total distance covered by the user during the exercise.

§
elevationGainMillimeters?: number
[src]

Optional. Total elevation gain during the exercise.

§
heartRateZoneDurations?: TimeInHeartRateZones
[src]

Optional. Time spent in each heart rate zone.

§
mobilityMetrics?: MobilityMetrics
[src]

Optional. Mobility workouts specific metrics. Only present in the advanced running exercises.

§
runVo2Max?: number
[src]

Optional. Run VO2 max value for the exercise. Only present in the running exercises at the top level as in the summary of the whole exercise.

§
steps?: bigint
[src]

Optional. Total steps taken during the exercise.

§
totalSwimLengths?: number
[src]

Optional. Number of full pool lengths completed during the exercise. Only present in the swimming exercises at the top level as in the summary of the whole exercise.