IlluminanceMeasurement

interface IlluminanceMeasurement : IlluminanceMeasurementTrait.Attributes, MatterTrait


API for the IlluminanceMeasurement trait. This trait provides an interface to illuminance measurement functionality.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Public properties

open TraitFactory<IlluminanceMeasurement>

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

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

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.

IlluminanceMeasurementTrait.LightSensorTypeEnum?

The electronic type of the light sensor.

UShort?

The maximum value of measuredValue that can be measured.

UShort?

The illuminance in Lux.

UShort?

The minimum value of measuredValue that can be measured.

UShort?

The potential error magnitude associated with measuredValue.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: IlluminanceMeasurement.Attribute): Boolean

Public properties