@camera.ui/sdk / sensor / LeakSensorLike
Interface: LeakSensorLike
Defined in: sensor/leak.ts:27
Read-only proxy interface for a leak sensor.
Extends
Properties
assignedCameraIds
readonlyassignedCameraIds: readonlystring[]
Defined in: sensor/base.ts:177
Inherited from
assignmentLocked
readonlyassignmentLocked:boolean
Defined in: sensor/base.ts:178
Inherited from
capabilities
readonlycapabilities:string[]
Defined in: sensor/base.ts:175
Inherited from
connected
readonlyconnected:boolean
Defined in: sensor/base.ts:176
Inherited from
displayName
readonlydisplayName:string
Defined in: sensor/base.ts:172
Inherited from
id
readonlyid:string
Defined in: sensor/base.ts:169
Inherited from
name
readonlyname:string
Defined in: sensor/base.ts:171
Inherited from
nativeId?
readonlyoptionalnativeId?:string
Defined in: sensor/base.ts:173
Inherited from
onAssignmentChanged
readonlyonAssignmentChanged:Observable<readonlystring[]>
Defined in: sensor/base.ts:182
Inherited from
SensorLike.onAssignmentChanged
onCapabilitiesChanged
readonlyonCapabilitiesChanged:Observable<string[]>
Defined in: sensor/base.ts:180
Inherited from
SensorLike.onCapabilitiesChanged
onConnectedChanged
readonlyonConnectedChanged:Observable<boolean>
Defined in: sensor/base.ts:181
Inherited from
onPropertyChanged
readonlyonPropertyChanged:Observable<{property:LeakProperty;timestamp:number;value:boolean; }>
Defined in: sensor/leak.ts:29
Overrides
pluginId?
readonlyoptionalpluginId?:string
Defined in: sensor/base.ts:174
Inherited from
type
readonlytype:Leak
Defined in: sensor/leak.ts:28
Overrides
Methods
getValue()
Call Signature
getValue(
property):boolean|undefined
Defined in: sensor/leak.ts:31
Get the current value of a sensor property.
Parameters
property
LeakProperty
Returns
boolean | undefined
Overrides
Call Signature
getValue(
property):unknown
Defined in: sensor/leak.ts:32
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:187
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:196
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:194
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>