@camera.ui/sdk / sensor / HumidityInfoLike
Interface: HumidityInfoLike ​
Defined in: sensor/humidity.ts:19
Read-only proxy interface for a humidity sensor.
Extends ​
Properties ​
assignedCameraIds ​
readonlyassignedCameraIds: readonlystring[]
Defined in: sensor/base.ts:192
Inherited from ​
assignmentLocked ​
readonlyassignmentLocked:boolean
Defined in: sensor/base.ts:193
Inherited from ​
capabilities ​
readonlycapabilities:string[]
Defined in: sensor/base.ts:190
Inherited from ​
connected ​
readonlyconnected:boolean
Defined in: sensor/base.ts:191
Inherited from ​
displayName ​
readonlydisplayName:string
Defined in: sensor/base.ts:187
Inherited from ​
id ​
readonlyid:string
Defined in: sensor/base.ts:184
Inherited from ​
name ​
readonlyname:string
Defined in: sensor/base.ts:186
Inherited from ​
nativeId? ​
readonlyoptionalnativeId?:string
Defined in: sensor/base.ts:188
Inherited from ​
onAssignmentChanged ​
readonlyonAssignmentChanged:Observable<readonlystring[]>
Defined in: sensor/base.ts:197
Inherited from ​
SensorLike.onAssignmentChanged
onCapabilitiesChanged ​
readonlyonCapabilitiesChanged:Observable<string[]>
Defined in: sensor/base.ts:195
Inherited from ​
SensorLike.onCapabilitiesChanged
onConnectedChanged ​
readonlyonConnectedChanged:Observable<boolean>
Defined in: sensor/base.ts:196
Inherited from ​
onPropertyChanged ​
readonlyonPropertyChanged:Observable<{property:HumidityProperty;timestamp:number;value:number; }>
Defined in: sensor/humidity.ts:21
Overrides ​
pluginId? ​
readonlyoptionalpluginId?:string
Defined in: sensor/base.ts:189
Inherited from ​
type ​
readonlytype:Humidity
Defined in: sensor/humidity.ts:20
Overrides ​
Methods ​
getValue() ​
Call Signature ​
getValue(
property):number|undefined
Defined in: sensor/humidity.ts:23
Get the current value of a sensor property.
Parameters ​
property ​
HumidityProperty
Returns ​
number | undefined
Overrides ​
Call Signature ​
getValue(
property):unknown
Defined in: sensor/humidity.ts:24
Get the current value of a sensor property.
Parameters ​
property ​
string
Returns ​
unknown
Overrides ​
SensorLike.getValue
getValues() ​
getValues():
Readonly<Record<string,unknown>>
Defined in: sensor/base.ts:202
Get a read-only snapshot of all property values.
Returns ​
Readonly<Record<string, unknown>>
Inherited from ​
hasCapability() ​
hasCapability(
capability):boolean
Defined in: sensor/base.ts:211
Whether the sensor advertises the given capability.
Parameters ​
capability ​
string
Returns ​
boolean
Inherited from ​
updateValue() ​
updateValue(
property,value):void|Promise<void>
Defined in: sensor/base.ts:209
Generic property write used by cross-process bridges. The owning sensor dispatches it to the matching semantic method, so plugin-side hardware overrides still run. Plugin authors call the semantic methods instead.
Parameters ​
property ​
string
value ​
unknown
Returns ​
void | Promise<void>