LocalizationConfigurationTrait.Attributes

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

Known direct subclasses
LocalizationConfiguration

API for the LocalizationConfiguration trait.


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

String?

The locale that the node is currently configured to use when conveying information.

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.

UInt

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

A list of locale strings that are valid values for the activeLocale attribute.

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 acceptedCommandListList<UInt>

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

activeLocale

val activeLocaleString?

The locale that the node is currently configured to use when conveying information. This attribute must be a language tag as defined by BCP47.

Access type: Write

attributeList

val attributeListList<UInt>

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

clusterRevision

val clusterRevisionUShort

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

featureMap

val featureMapUInt

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.

supportedLocales

val supportedLocalesList<String>?

A list of locale strings that are valid values for the activeLocale attribute. The list must not contain duplicate entries. The ordering of the items in the list does not matter.

Access type: Read