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

Device

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

Captures metadata about the device that recorded the measurement.

interface Device {
displayName?: string;
formFactor?:
| "FORM_FACTOR_UNSPECIFIED"
| "FITNESS_BAND"
| "WATCH"
| "PHONE"
| "RING"
| "CHEST_STRAP"
| "SCALE"
| "TABLET"
| "HEAD_MOUNTED"
| "SMART_DISPLAY";
manufacturer?: string;
}

§Properties

§
displayName?: string
[src]

Optional. An optional name for the device.

§
formFactor?: "FORM_FACTOR_UNSPECIFIED" | "FITNESS_BAND" | "WATCH" | "PHONE" | "RING" | "CHEST_STRAP" | "SCALE" | "TABLET" | "HEAD_MOUNTED" | "SMART_DISPLAY"
[src]

Optional. Captures the form factor of the device.

§
manufacturer?: string
[src]

Optional. An optional manufacturer of the device.