Skip to content

@camera.ui/sdk / sensor / AudioProperty

Enumeration: AudioProperty ​

Defined in: sensor/audio.ts:32

Property names of an audio sensor.

Enumeration Members ​

Decibels ​

Decibels: "decibels"

Defined in: sensor/audio.ts:38

Current audio level in decibels. The plugin that owns the sensor does not get the backend's updates of it.


Detected ​

Detected: "detected"

Defined in: sensor/audio.ts:34

Whether an audio event is currently detected.


Detections ​

Detections: "detections"

Defined in: sensor/audio.ts:36

List of detected audio events (e.g. glass break, scream). The plugin that owns the sensor does not get the backend's updates of it.


LastTriggered ​

LastTriggered: "lastTriggered"

Defined in: sensor/audio.ts:40

Timestamp in milliseconds of the last detection trigger, set by the backend.