OzoneConcentrationMeasurementTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface OzoneConcentrationMeasurementTrait.Attributes : ClusterStruct

Known direct subclasses
OzoneConcentrationMeasurement

API for the OzoneConcentrationMeasurement trait.


Attributes for the OzoneConcentrationMeasurement cluster.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

Float?

The average value of measuredValue measured during the averageMeasuredValueWindow.

UInt?

The window of time, in seconds, used to measure the averageMeasuredValue.

UShort

The revision of the server cluster specification supported by the cluster instance.

OzoneConcentrationMeasurementTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

OzoneConcentrationMeasurementTrait.LevelValueEnum?

The level of the substance detected.

Float?

The maximum value of measuredValue that can be measured.

Float?

The most recent measurement as a single-precision floating-point number, in units specified by measurementUnit.

OzoneConcentrationMeasurementTrait.MeasurementMediumEnum?

The medium in which measuredValue is being measured.

OzoneConcentrationMeasurementTrait.MeasurementUnitEnum?

The unit used by measuredValue.

Float?

The minimum value of measuredValue that can be measured.

Float?

The maximum value of measuredValue that has been measured during the peakMeasuredValueWindow.

UInt?

The window of time, in seconds, used to determine the peakMeasuredValue.

Float?

The range of error or deviation that can be found in measuredValue and peakMeasuredValue.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

acceptedCommandList

val acceptedCommandList: List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

attributeList

val attributeList: List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

averageMeasuredValue

val averageMeasuredValue: Float?

The average value of measuredValue measured during the averageMeasuredValueWindow.

Access type: Read

averageMeasuredValueWindow

val averageMeasuredValueWindow: UInt?

The window of time, in seconds, used to measure the averageMeasuredValue.

Access type: Read

clusterRevision

val clusterRevision: UShort

The revision of the server cluster specification supported by the cluster instance.

featureMap

val featureMap: OzoneConcentrationMeasurementTrait.Feature

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandList: List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

levelValue

val levelValue: OzoneConcentrationMeasurementTrait.LevelValueEnum?

The level of the substance detected.

Access type: Read

maxMeasuredValue

val maxMeasuredValue: Float?

The maximum value of measuredValue that can be measured.

Access type: Read

measuredValue

val measuredValue: Float?

The most recent measurement as a single-precision floating-point number, in units specified by measurementUnit.

Access type: Read

measurementMedium

val measurementMedium: OzoneConcentrationMeasurementTrait.MeasurementMediumEnum?

The medium in which measuredValue is being measured.

Access type: Read

measurementUnit

val measurementUnit: OzoneConcentrationMeasurementTrait.MeasurementUnitEnum?

The unit used by measuredValue.

Access type: Read

minMeasuredValue

val minMeasuredValue: Float?

The minimum value of measuredValue that can be measured.

Access type: Read

peakMeasuredValue

val peakMeasuredValue: Float?

The maximum value of measuredValue that has been measured during the peakMeasuredValueWindow.

Access type: Read

peakMeasuredValueWindow

val peakMeasuredValueWindow: UInt?

The window of time, in seconds, used to determine the peakMeasuredValue.

Access type: Read

uncertainty

val uncertainty: Float?

The range of error or deviation that can be found in measuredValue and peakMeasuredValue.

Access type: Read