ExtendedAirQualityTrait.Attributes

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

Known direct subclasses
ExtendedAirQuality

API for the ExtendedAirQuality trait.


Attributes for the ExtendedAirQuality 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.

UShort

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

ExtendedAirQualityTrait.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.

ExtendedAirQualityTrait.AirQualityLevel?

Current descriptive air quality measured indoor.

Int?

Currently measured AQI as a numeric value (indoor).

Int?

The maximum possible value of the measured value.

Int?

Currently measured AQI as a numeric value.

Int?

The minimum possible value of the measured value.

ExtendedAirQualityTrait.AirQualityLevel?

Current descriptive air quality measured indoor.

Int?

Currently measured AQI as a numeric value (outdoor).

Int?

Tolerance of the measured value.

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.

clusterRevision

val clusterRevision: UShort

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

featureMap

val featureMap: ExtendedAirQualityTrait.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.

indoorAirQuality

val indoorAirQuality: ExtendedAirQualityTrait.AirQualityLevel?

Current descriptive air quality measured indoor. Valid qualities are defined in AirQualityLevel.

Access type: Read

indoorMeasuredValue

val indoorMeasuredValue: Int?

Currently measured AQI as a numeric value (indoor).

Access type: Read

maxMeasuredValue

val maxMeasuredValue: Int?

The maximum possible value of the measured value.

Access type: Read

measuredValue

val measuredValue: Int?

Currently measured AQI as a numeric value.

Access type: Read

minMeasuredValue

val minMeasuredValue: Int?

The minimum possible value of the measured value.

Access type: Read

outdoorAirQuality

val outdoorAirQuality: ExtendedAirQualityTrait.AirQualityLevel?

Current descriptive air quality measured indoor. Valid qualities are defined in AirQualityLevel.

Access type: Read

outdoorMeasuredValue

val outdoorMeasuredValue: Int?

Currently measured AQI as a numeric value (outdoor).

Access type: Read

tolerance

val tolerance: Int?

Tolerance of the measured value.

Access type: Read