Descriptor

interface Descriptor : DescriptorTrait.Attributes, MatterTrait


API for the Descriptor trait. This trait provides an interface for describing the device's capabilities and configuration.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Public properties

open TraitFactory<Descriptor>

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.matter.standard.DescriptorTrait.Attributes
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.

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.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: Descriptor.Attribute): Boolean

Public properties

factory

open val factoryTraitFactory<Descriptor>