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

SplitSummary

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

Represents splits or laps recorded within an exercise. Lap events partition a workout into segments based on criteria like distance, time, or calories.

interface SplitSummary {
readonly activeDuration?: number;
endTime?: Date;
endUtcOffset?: number;
metricsSummary?: MetricsSummary;
splitType?:
| "SPLIT_TYPE_UNSPECIFIED"
| "MANUAL"
| "DURATION"
| "DISTANCE"
| "CALORIES";
startTime?: Date;
startUtcOffset?: number;
}

§Properties

§
readonly activeDuration?: number
[src]

Output only. Lap time excluding the pauses.

§
endTime?: Date
[src]

Required. Lap end time

§
endUtcOffset?: number
[src]

Required. Lap end time offset from UTC

§
metricsSummary?: MetricsSummary
[src]

Required. Summary metrics for this split.

§
splitType?: "SPLIT_TYPE_UNSPECIFIED" | "MANUAL" | "DURATION" | "DISTANCE" | "CALORIES"
[src]

Required. Method used to split the exercise laps. Users may manually mark the lap as complete even if the tracking is automatic.

§
startTime?: Date
[src]

Required. Lap start time

§
startUtcOffset?: number
[src]

Required. Lap start time offset from UTC