DescriptorTrait.Attributes

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

Known direct subclasses
Descriptor

API for the Descriptor trait.


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

List<UInt>?

A list of cluster IDs for the client clusters present on the endpoint.

UShort

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

List<DescriptorTrait.DeviceTypeStruct>?

A list of device types and revisions to declare endpoint conformance.

String?
DescriptorTrait.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.

List<UShort>?

The composition of the device type instance, including the endpoints in this list.

List<UInt>?

A list of cluster IDs for the server clusters present on the endpoint.

List<DescriptorTrait.SemanticTagStruct>?

A list of tags used for disambiguating and providing information about endpoints.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

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

attributeList

val attributeListList<UInt>

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

clientList

val clientListList<UInt>?

A list of cluster IDs for the client clusters present on the endpoint.

Access type: Read

clusterRevision

val clusterRevisionUShort

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

deviceTypeList

val deviceTypeListList<DescriptorTrait.DeviceTypeStruct>?

A list of device types and revisions to declare endpoint conformance.

Access type: Read

endpointUniqueId

val endpointUniqueIdString?

featureMap

val featureMapDescriptorTrait.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 generatedCommandListList<UInt>

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

partsList

val partsListList<UShort>?

The composition of the device type instance, including the endpoints in this list.

Access type: Read

serverList

val serverListList<UInt>?

A list of cluster IDs for the server clusters present on the endpoint.

Access type: Read

tagList

val tagListList<DescriptorTrait.SemanticTagStruct>?

A list of tags used for disambiguating and providing information about endpoints.

Access type: Read