Skip to content

@camera.ui/sdk / sensor / switchMeta

Variable: switchMeta ​

const switchMeta: object

Defined in: sensor/switch.ts:83

Registry metadata for SwitchControl.

Type Declaration ​

assignmentKey ​

readonly assignmentKey: "switch" = 'switch'

cascadeTrigger ​

readonly cascadeTrigger: object

cascadeTrigger.property ​

readonly property: SwitchProperty = SwitchProperty.On

cascadeTrigger.sustained ​

readonly sustained: true = true

cascadeTrigger.value ​

readonly value: true = true

category ​

readonly category: Control = SensorCategory.Control

isDetectionType ​

readonly isDetectionType: false = false

multiProvider ​

readonly multiProvider: true = true

properties ​

readonly properties: object

properties.on ​

readonly on: object

properties.on.type ​

readonly type: "boolean" = 'boolean'

properties.on.writable ​

readonly writable: true = true

semantics ​

readonly semantics: object

semantics.commandProperty ​

readonly commandProperty: SwitchProperty = SwitchProperty.On

semantics.domain ​

readonly domain: Switch = SensorDomain.Switch

semantics.stateProperty ​

readonly stateProperty: SwitchProperty = SwitchProperty.On

shortcutable ​

readonly shortcutable: true = true

type ​

readonly type: Switch = SensorType.Switch

virtual ​

readonly virtual: object

virtual.properties ​

readonly properties: object

virtual.properties.on ​

readonly on: false = false