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

ExerciseEvent

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

Represents instantaneous events that happen during an exercise, such as start, stop, pause, split.

interface ExerciseEvent {
eventTime?: Date;
eventUtcOffset?: number;
exerciseEventType?:
| "EXERCISE_EVENT_TYPE_UNSPECIFIED"
| "START"
| "STOP"
| "PAUSE"
| "RESUME"
| "AUTO_PAUSE"
| "AUTO_RESUME";
}

§Properties

§
eventTime?: Date
[src]

Required. Exercise event time

§
eventUtcOffset?: number
[src]

Required. Exercise event time offset from UTC

§
exerciseEventType?: "EXERCISE_EVENT_TYPE_UNSPECIFIED" | "START" | "STOP" | "PAUSE" | "RESUME" | "AUTO_PAUSE" | "AUTO_RESUME"
[src]

Required. The type of the event, such as start, stop, pause, resume.