Skip to content

@camera.ui/sdk / sensor / SensorReading

Interface: SensorReading ​

Defined in: sensor/meta.ts:135

A reading a sensor carries next to its state, exported as a measurement of its own.

Properties ​

deviceClass? ​

readonly optional deviceClass?: string

Defined in: sensor/meta.ts:139

Device class, where one applies.


property ​

readonly property: string

Defined in: sensor/meta.ts:137

Name of the property that carries the reading.


unit? ​

readonly optional unit?: string

Defined in: sensor/meta.ts:141

Unit of the reading.