Skip to main content

CustomMeasurement

The measurement shapes a custom-device declaration may report. Its decoder fields are checked against the measurement catalog at registration, so this union can preserve the same measurementTypeKey discrimination as results from built-in devices.

Kind: Type alias
Package: @ovok/native

Import​

import { CustomMeasurement } from '@ovok/native/bt-management';

TypeScript shape​

type CustomMeasurement = BloodPressureMeasurement | BodyWeightMeasurement | BodyTemperatureMeasurement | BloodGlucoseMeasurement | PulseOximeterMeasurement | HeartRateMeasurement | EcgMeasurement | RespiratoryRateMeasurement | UrineAnalyzeMeasurement;

This is a type-level export; it has no call parameters.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.