Skip to main content

MeasurementForDevice

A built-in device has a measurement type the SDK knows statically. A device registered through defineCustomDevice reports the catalog-checked properties its declaration named.

Kind: Type alias
Package: @ovok/native

Import​

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

TypeScript shape​

type MeasurementForDevice<K extends DeviceKey> = K extends IntegratedDevices ? DeviceMeasurementMap[K] : CustomMeasurement;

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.