@camera.ui/sdk / sensor / ObjectSensorLike
Interface: ObjectSensorLike
Defined in: sensor/object.ts:57
Read-only proxy interface for an object detection 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<PropertyChangeOf<ObjectSensorProperties>>
Defined in: sensor/object.ts:59
Overrides
pluginId?
readonlyoptionalpluginId?:string
Defined in: sensor/base.ts:174
Inherited from
type
readonlytype:Object
Defined in: sensor/object.ts:58
Overrides
Methods
getValue()
Call Signature
getValue(
property):boolean|undefined
Defined in: sensor/object.ts:61
Get the current value of a sensor property.
Parameters
property
Detected
Returns
boolean | undefined
Overrides
Call Signature
getValue(
property):TrackedDetection[] |undefined
Defined in: sensor/object.ts:62
Get the current value of a sensor property.
Parameters
property
Detections
Returns
TrackedDetection[] | undefined
Overrides
SensorLike.getValue
Call Signature
getValue(
property): ("motion"|"audio"|"person"|"vehicle"|"animal")[] |undefined
Defined in: sensor/object.ts:63
Get the current value of a sensor property.
Parameters
property
Labels
Returns
("motion" | "audio" | "person" | "vehicle" | "animal")[] | undefined
Overrides
SensorLike.getValue
Call Signature
getValue(
property):TrackedDetection[] |undefined
Defined in: sensor/object.ts:64
Get the current value of a sensor property.
Parameters
property
StaticDetections
Returns
TrackedDetection[] | undefined
Overrides
SensorLike.getValue
Call Signature
getValue(
property):unknown
Defined in: sensor/object.ts:65
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>