Skip to content

@camera.ui/sdk / sensor / MeasurementMeta

Interface: MeasurementMeta ​

Defined in: sensor/measurement.ts:28

Metadata of a measurement type, as defineMeasurement returns it.

Extends ​

Properties ​

assignmentKey ​

readonly assignmentKey: string

Defined in: sensor/meta.ts:157

Key under which a camera stores its assignment for this type.

Inherited from ​

SensorMeta.assignmentKey


cameraBound? ​

readonly optional cameraBound?: boolean

Defined in: sensor/meta.ts:165

Sensor only makes sense attached to a camera, never standalone.

Inherited from ​

SensorMeta.cameraBound


cascadeTrigger? ​

readonly optional cascadeTrigger?: SensorCascadeTrigger

Defined in: sensor/meta.ts:169

Condition under which this sensor arms an automation cascade.

Inherited from ​

SensorMeta.cascadeTrigger


category ​

readonly category: SensorCategory

Defined in: sensor/meta.ts:155

Role the sensor plays: read-only, control, trigger or info.

Inherited from ​

SensorMeta.category


isDetectionType ​

readonly isDetectionType: boolean

Defined in: sensor/meta.ts:161

Whether the sensor analyzes frames and reports detections.

Inherited from ​

SensorMeta.isDetectionType


multiProvider ​

readonly multiProvider: boolean

Defined in: sensor/meta.ts:159

Whether a camera can have several sensors of this type at once.

Inherited from ​

SensorMeta.multiProvider


properties ​

readonly properties: object

Defined in: sensor/measurement.ts:30

Value description of the reading.

current ​

readonly current: SensorPropertySpec

Overrides ​

SensorMeta.properties


propertyCapabilities? ​

readonly optional propertyCapabilities?: Readonly<Record<string, string>>

Defined in: sensor/meta.ts:171

Property name to the capability that has to be present for it.

Inherited from ​

SensorMeta.propertyCapabilities


semantics? ​

readonly optional semantics?: SensorSemantics | null

Defined in: sensor/meta.ts:175

Transport-independent meaning, or null when the type has none.

Inherited from ​

SensorMeta.semantics


shortcutable? ​

readonly optional shortcutable?: boolean

Defined in: sensor/meta.ts:167

Sensor can be pinned as a UI shortcut.

Inherited from ​

SensorMeta.shortcutable


type ​

readonly type: SensorType

Defined in: sensor/meta.ts:153

Sensor type this metadata describes.

Inherited from ​

SensorMeta.type


virtual ​

readonly virtual: object

Defined in: sensor/measurement.ts:32

Reading a new sensor starts with.

properties ​

readonly properties: object

properties.current ​

readonly current: number

Overrides ​

SensorMeta.virtual