FillTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface FillTrait.Attributes

Known direct subclasses
Fill

API for the Fill trait.


Attributes for the Fill cluster.

Summary

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.

FillTrait.AvailableFillLevels?

Describes different levels of filling the device.

UShort

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

String?

The current levelName from the availableFillLevels attribute at which the device is filled.

Float?

The current fill level percentage.

FillTrait.FillFeature

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.

Boolean?

Is true if the device is filled to any level, false if the device is completely drained.

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.

availableFillLevels

val availableFillLevelsFillTrait.AvailableFillLevels?

Describes different levels of filling the device.

Access type: Read

clusterRevision

val clusterRevisionUShort

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

currentFillLevel

val currentFillLevelString?

The current levelName from the availableFillLevels attribute at which the device is filled. Required if availableFillLevels attribute is set.

Access type: Read

currentFillPercent

val currentFillPercentFloat?

The current fill level percentage. Required if the FillTrait.Feature.supportsFillPercent feature flag is set.

Access type: Read

featureMap

val featureMapFillTrait.FillFeature

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.

isFilled

val isFilledBoolean?

Is true if the device is filled to any level, false if the device is completely drained.

Access type: Read