DataSource
import type { DataSource } from "https://googleapis.deno.dev/v1/health:v4.ts";Data Source definition to track the origin of data. Each health data point, regardless of the complexity or data model (whether a simple step count or a detailed sleep session) must retain information about its source of origin (e.g. the device or app that collected it).
interface DataSource {
readonly application?: Application;
device?: Device;
readonly platform?:
| "PLATFORM_UNSPECIFIED"
| "FITBIT"
| "HEALTH_CONNECT"
| "HEALTH_KIT"
| "FIT"
| "FITBIT_WEB_API"
| "NEST"
| "GOOGLE_WEB_API"
| "GOOGLE_PARTNER_INTEGRATION";
recordingMethod?:
} | "RECORDING_METHOD_UNSPECIFIED"
| "MANUAL"
| "PASSIVELY_MEASURED"
| "DERIVED"
| "ACTIVELY_MEASURED"
| "UNKNOWN";
§Properties
§
readonly application?: Application
[src]Output only. Captures metadata for the application that provided this data.